const, final, scope function parameters
Charles D Hixson
charleshixsn at earthlink.net
Mon Oct 22 16:13:00 PDT 2007
Chris Nicholson-Sauls wrote:
> Walter Bright wrote:
>> ...
>> On a related note, "cstring" has received universal condemnation <g>,
>> so I'll just have to make "string" work.
>
> Or maybe something like:
> alias const( char)[] utf8 ; // or even u8string
> alias const(wchar)[] utf16 ; // or even u16string
> alias const(dchar)[] utf32 ; // or even u32string
>
> -- Chris Nicholson-Sauls
+1 on the short forms, -1 on the long forms.
OTOH, this isn't that significant, as your implementation is
quite short. :-)
Sill, if the names are to get used in library routines... then
perhaps it is significant.
More information about the Digitalmars-d
mailing list