On 2013-08-31 20:28, Andrej Mitrovic wrote:

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?

Apparently you cannot use "auto" when having an overloaded symbol, so just use an explicit type:

T delegate (Args) dg = &result.__ctor;
dg(args);

--
/Jacob Carlborg

Reply via email to