Re: Silly question about strings (was: Filenames in Ada)
- From: tmoran@xxxxxxx
- Date: Mon, 28 Nov 2005 23:53:45 -0600
>> 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):
.
- Follow-Ups:
- Re: Silly question about strings (was: Filenames in Ada)
- From: Björn Persson
- Re: Silly question about strings (was: Filenames in Ada)
- From: Randy Brukardt
- Re: Silly question about strings (was: Filenames in Ada)
- References:
- Re: Silly question about strings (was: Filenames in Ada)
- From: Randy Brukardt
- Re: Silly question about strings (was: Filenames in Ada)
- Prev by Date: Re: Silly question about strings (was: Filenames in Ada)
- Next by Date: Re: Buffer overflow Article - CACM
- 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):