assert() vs. enforce(), invariant() vs. ... ?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Aug 31 11:28:35 PDT 2013


On 8/31/13, Jacob Carlborg <doob at me.com> wrote:
> Replace that line with:
>
> auto dg = &result.__ctor;
> dg(args);

Hmm... I hope this can actually work when there are multiple ctors,
how would the compiler know which of the ctors dg should be assigned
to?


More information about the Digitalmars-d mailing list