From: "Steve" <nospam_steved94@comcast.net>
Subject: Re: Ada generics
Date: Thu, 21 Dec 2006 19:01:50 -0800
Date: 2006-12-21T19:01:50-08:00 [thread overview]
Message-ID: <feGdnen0c8O11xbYnZ2dnUVZ_qK3nZ2d@comcast.com> (raw)
In-Reply-To: 1166710494.869393.108730@a3g2000cwd.googlegroups.com
"markww" <markww@gmail.com> wrote in message
news:1166710494.869393.108730@a3g2000cwd.googlegroups.com...
> Hi,
>
> I'm trying to compare generics in Ada vs C++ templates and Java
> generics. Is there anything Ada generics can do that C++ or Java
> cannot? I read that the Ada system was safer than C++ templates. I'm
> just looking for some distinctive features.
>
> Thanks
>
The most distinct feature in my view is that if the code for the generic
compiles then an instantiation of the generic will also compile.
I have in the past tried to instantiate a C++ template and received a
compile time error deeply nested in the template source code, due to some
specific requirement that was not met instantiating the template. For
instance the template may require that some specific method be implemented
by a type used to instantiate the template.
Steve
(The Duck)
prev parent reply other threads:[~2006-12-22 3:01 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-21 14:14 Ada generics markww
2006-12-21 15:42 ` Dmitry A. Kazakov
2006-12-22 7:59 ` Martin Krischik
2006-12-22 16:14 ` Hyman Rosen
2006-12-22 7:59 ` Martin Krischik
2006-12-22 16:41 ` Hyman Rosen
2006-12-22 17:33 ` Markus E Leypold
2006-12-22 18:26 ` Hyman Rosen
2006-12-22 20:59 ` Markus E Leypold
2006-12-22 21:01 ` Markus E Leypold
2006-12-23 14:09 ` Marco
2006-12-25 14:23 ` Hyman Rosen
2006-12-29 14:13 ` Marco
2006-12-25 14:20 ` Hyman Rosen
2006-12-23 11:43 ` Dmitry A. Kazakov
2006-12-25 13:49 ` Hyman Rosen
2006-12-25 14:39 ` Dmitry A. Kazakov
2006-12-26 1:34 ` Hyman Rosen
2006-12-26 9:11 ` Dmitry A. Kazakov
2006-12-26 16:23 ` Hyman Rosen
2006-12-26 19:28 ` Dmitry A. Kazakov
2006-12-27 1:44 ` Hyman Rosen
2006-12-27 9:21 ` Dmitry A. Kazakov
2006-12-27 19:06 ` Hyman Rosen
2006-12-28 10:59 ` Dmitry A. Kazakov
2006-12-28 16:29 ` Hyman Rosen
2006-12-29 11:12 ` Dmitry A. Kazakov
2006-12-29 14:56 ` Hyman Rosen
2006-12-28 17:35 ` Georg Bauhaus
2006-12-29 14:48 ` Dmitry A. Kazakov
2006-12-29 19:39 ` Georg Bauhaus
2006-12-30 9:58 ` Dmitry A. Kazakov
2006-12-30 14:53 ` Georg Bauhaus
2007-01-01 13:00 ` Dmitry A. Kazakov
2007-01-02 10:04 ` Georg Bauhaus
2007-01-02 11:11 ` Dmitry A. Kazakov
2007-01-02 12:33 ` Georg Bauhaus
2007-01-02 13:51 ` Dmitry A. Kazakov
2007-01-02 14:45 ` Georg Bauhaus
2007-01-03 10:10 ` Dmitry A. Kazakov
2007-01-03 14:20 ` Hyman Rosen
2007-01-03 14:55 ` Georg Bauhaus
2007-01-04 10:15 ` Dmitry A. Kazakov
2007-01-03 19:33 ` Alexander E. Kopilovich
2007-01-04 10:27 ` Dmitry A. Kazakov
2007-01-04 15:00 ` Alexander E. Kopilovich
2007-01-05 10:32 ` Dmitry A. Kazakov
2006-12-30 2:25 ` Randy Brukardt
2006-12-30 10:13 ` Dmitry A. Kazakov
2007-01-04 1:09 ` Randy Brukardt
2007-01-04 10:07 ` Dmitry A. Kazakov
2007-01-05 1:32 ` Randy Brukardt
2007-01-05 4:46 ` Randy Brukardt
2007-01-05 9:08 ` Jean-Pierre Rosen
2007-01-05 20:14 ` Georg Bauhaus
2007-01-06 0:14 ` Randy Brukardt
2006-12-29 0:09 ` Randy Brukardt
2006-12-29 11:11 ` Dmitry A. Kazakov
2006-12-30 2:40 ` Randy Brukardt
2006-12-21 16:55 ` Hyman Rosen
2006-12-21 18:22 ` markww
2006-12-22 3:01 ` Steve [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox