Nested function declarations
dennis luehring
dl.soluz at gmx.net
Sat Jan 29 07:10:21 PST 2011
> They're useful for testing:
>
> unittest {
> int foo();
> static assert (is(ReturnType!foo == int));
> }
and else? is it worth?
More information about the Digitalmars-d-learn
mailing list