comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Concatenate enumeration
Date: Thu, 26 Nov 2009 10:48:24 +0100
Date: 2009-11-26T10:48:23+01:00	[thread overview]
Message-ID: <4b0e4ee7$0$6562$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <eayrakxg11ot$.u7aknwy6xxh6.dlg@40tude.net>

Dmitry A. Kazakov schrieb:

> Not very useful, but in other cases reflection could be very interesting.
> For example, in generics:
> 
>    generic
>       type T is array; -- Only this
>    package ... is
>       -- The [first] array index type would be T'Index (1)
>       -- The array element type would be T'Element etc
> 

I'm probably dense.  Is there a difference to what we have
now other than the unknown number of indexes of the array
type above?

   generic
       type T_Index is (<>);
       type T_Element is private;
       type T is array (T_Index range <>) of T_Element;
   package ... is



  reply	other threads:[~2009-11-26  9:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23 18:15 Concatenate enumeration Pablo
2009-11-23 19:14 ` Jeffrey R. Carter
2009-11-23 23:21   ` Robert A Duff
2009-11-25 22:53     ` Randy Brukardt
2009-11-26  8:59       ` Dmitry A. Kazakov
2009-11-26  9:48         ` Georg Bauhaus [this message]
2009-11-26 10:03           ` Dmitry A. Kazakov
2009-11-24 19:42 ` Eryndlia Mavourneen
  -- strict thread matches above, loose matches on Subject: below --
2010-10-22 19:49 okellogg
2010-10-26  0:29 ` Yannick Duchêne (Hibou57)
2010-11-12 17:55 ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox