std.variant and delegate

Namespace rswhite4 at googlemail.com
Thu Aug 2 13:36:00 PDT 2012


On Thursday, 2 August 2012 at 20:33:02 UTC, Eyyub wrote:
> Hi,
>
> std.variant with delegate seems to be buggy : 
> http://dpaste.dzfl.pl/24a87b46
>
> Why the output is not 42 ?
>
> Thx

writeln(*vastr.get!(typeof(() => 42)));
prints 42 ;)


More information about the Digitalmars-d-learn mailing list