The Status of Const

bearophile bearophileHUGS at lycos.com
Thu Aug 19 06:44:35 PDT 2010


dsimcha:
> Are you sure std.traits.Unqual doesn't do what you want?  It shallowly removes
> const/immutable/shared.  For example:

Sorry for the late reply.
Unqual removes all qualifiers, but I'd like something that removes just const/immutable, and keeps all the other things.

Bye,
bearophile


More information about the Digitalmars-d mailing list