std.algorithm move() struct emptying

Stanislav Blinov blinov at loniir.ru
Tue Aug 31 05:25:38 PDT 2010


   31.08.2010 0:27, Torarin wrote:
> Yeah, I get the enum case, but what I forgot to mention is that the
> example from move() is enclosed in
> static if (is(T == struct))
>
> Which makes me wonder what kind of struct would have an rvalue .init.
>
I don't know, maybe the one that's not invented yet ;)


More information about the Digitalmars-d mailing list