Re: Silly question about strings (was: Filenames in Ada)
- From: "Randy Brukardt" <randy@xxxxxxxxxxxxxx>
- Date: Tue, 29 Nov 2005 15:48:14 -0600
<tmoran@xxxxxxx> wrote in message
news:1MadnQhFHPh0cRbenZ2dnUVZ_smdnZ2d@xxxxxxxxxxxxxx
> >> package Ada.Strings.Fixed is new
Ada.Strings.String_Base( Character );
> >...
> >Something like this was proposed as an 11th hour suggestion (this year).
> Since the generic type parameter is merely any discrete type, presumably
> you would support (with appropriate OS calls where needed):
> package Ada.Strings.Colors is new Ada.Strings.String_Base(Colors);
> package Ada.Strings.Unbounded_Integers
> is new Ada.Strings.Unbounded_String_Base(Integer):
Right. And there was some objection to that, given the overlap with the
containers library. (How would you decide to use an unbounded array of
integers or an vector of integers? They have similar sets of operations.)
Randy.
.
- References:
- Re: Silly question about strings (was: Filenames in Ada)
- From: Randy Brukardt
- Re: Silly question about strings (was: Filenames in Ada)
- From: tmoran
- Re: Silly question about strings (was: Filenames in Ada)
- Prev by Date: Re: Tasking and wxWidgets
- Next by Date: Re: Tasking and wxWidgets
- Previous by thread: Re: Silly question about strings (was: Filenames in Ada)
- Next by thread: Re: Silly question about strings (was: Filenames in Ada)
- Index(es):
Relevant Pages
|