Re: Silly question about strings
- From: Brian May <bam@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 24 Nov 2005 22:30:40 +1100
>>>>> "Martin" == Martin Dowie <martin.dowie@xxxxxxxxxxxxxx> writes:
Martin> They could always be 'defined' as proposed by Steve but
Martin> the implementation might use 'magic' to make it happen.
.... and if this magic meant you could do:
package Ada.Strings.UTF8 is new Ada.Strings.String_Base( UTF8 );
I think everybody would be happy ;-).
Or is that too much magic?
Unfortunately, Steve's proposal didn't take into account Fixed length
vs Unbounded types. Not sure if that could be done with an additional
parameter to String_Base, or if duplicating String_Base would be the
ideal solution.
--
Brian May <bam@xxxxxxxxxxxxxxxxxxx>
.
- References:
- Filenames in Ada
- From: Martin Krischik
- Re: Filenames in Ada
- From: Randy Brukardt
- Silly question about strings (was: Filenames in Ada)
- From: Steve
- Re: Silly question about strings (was: Filenames in Ada)
- From: Larry Kilgallen
- Re: Silly question about strings (was: Filenames in Ada)
- From: Martin Dowie
- Filenames in Ada
- Prev by Date: Re: autotools and ada
- Next by Date: Re: Uninitialized variable and the effects they have
- 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):