MutableOf etc and QualifierOf

Shriramana Sharma via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 21 07:08:56 PDT 2015


John Colvin wrote:

> It might be better to ask in http://forum.dlang.org/group/learn
> first for these sort of questions.

I didn't do that only because it concerns implemental details of Phobos 
which didn't seem to be learner material. I have just now separately posted 
an actual "I don't know why this doesn't work" question over there. I do use 
both fora for different things.

> One reason is that it interacts with constructs like
> std.meta.staticMap, e.g.
> 
> alias constTypes(T ...) = staticMap!(ConstOf, T);

But even then it's enough if these are marked `package`, no?

-- 
Shriramana Sharma, Penguin #395953


More information about the Digitalmars-d mailing list