On 6/3/13, Andrei Alexandrescu <[email protected]> wrote:
> I think I have an understanding how that dual nature works for C++, but
> not in D. Could you please give more detail. Then we can merge that with
> the documentation, so you wouldn't have wasted time.

Oh yes, and then you can close this:
http://d.puremagic.com/issues/show_bug.cgi?id=9970

But from my limited understanding:

new const(C) -> type constructor
cast(const(C))(new C) -> type modifier
void foo(const(C)) -> type modifier

Correct? No?
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to