On Monday, 28 January 2013 at 10:44:22 UTC, qznc wrote:
On Monday, 28 January 2013 at 03:16:24 UTC, cal wrote:Is the 'typeof((int a){return z;})' getting it wrong here?Do you really need the type? You could just use "auto". auto dg = (int a) {return z;};
Yeah this is reduced from something I'd like to use typeof for, usually auto would be fine like you say.
