www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: The Status of Const

 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
Aug 19 2010