Type Qualifiers and Wild Cards

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Tue Nov 8 09:37:53 PST 2011


Polluting keyword space is not a good idea unless it's impossible to
interfere with identifiers.
If keywords used a special syntax, like starting with a special
character, then this wouldn't be an issue

On Tue, Nov 8, 2011 at 9:28 PM, so <so at so.so> wrote:
> On Tue, 08 Nov 2011 19:21:50 +0200, Gor Gyolchanyan
> <gor.f.gyolchanyan at gmail.com> wrote:
>
>> Actually, I can make it a library solution right now.
>> Just provide a template, which takes a symbolic representation of
>> constness and a type and constructs the appropriately const type.
>> And a template, which extracts the const-ness of a type.
>> It's gonna look ugly, but it will work.
>
> How ugly it can get, it is a keyword of its own, for single purpose! :)
>


More information about the Digitalmars-d mailing list