Note about variant

Robert Jacques sandford at jhu.edu
Sun Oct 9 09:39:24 PDT 2011


On Sun, 09 Oct 2011 04:56:45 -0400, Mariusz Gliwiński <alienballance at gmail.com> wrote:
> Dnia niedziela, 9 października 2011 00:13:29 Jonathan M Davis pisze:
>> Part of your problem may be that D doesn't use copy constructors. Rather, it
>> has postblit constructors:
> Yes, i know about naming difference and behavioral difference.
>
> It's not a problem for me anymore, this post is for people who will encounter
> this problem in the future (so they can google it, and quickly find the reason
> why are they getting this error).
>
> Lastly, if someone would like to fix this, now he knows the reason.
>

The code works in the improved std.variant I've been working on.


More information about the Digitalmars-d mailing list