Extended Type Design.

Sean Kelly sean at f4.ca
Fri Mar 16 17:39:51 PDT 2007


Bill Baxter wrote:
> Andrei Alexandrescu (See Website For Email) wrote:
>> Deewiant wrote:
>> [snip]
>>
>>> In general, I do agree with your view, found elsewhere in the thread, 
>>> that using
>>> existing keywords is best. That, or constructs like "scope (success)" 
>>> where
>>> success isn't a keyword. I'm just currently a bit repelled by the 
>>> pair "super
>>> const".
>>
>> Well how about "real const" then :oD.
>>
>> I think the good news is that you don't need to type it that often. 
>> You type:
>>
>> const char[] str = "Hi!";
>>
>> and the compiler figures out the "super" part itself.
> 
> Doh!  'real const'  of course... how could I leave that one out.
> 
> 
>   'real const'
>   'true const'
>   'double const'
>   'finally const'
>   'is const'
>   or
>   'is finally super double true real const'

'const is back and now its really mad' ?



More information about the Digitalmars-d mailing list