[Issue 18558] Template alias spec incomplete
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 5 15:51:08 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18558
--- Comment #1 from Jonathan Marler <johnnymarler at gmail.com> ---
Quick clarification.
Based on the example in the comment above, the following:
Foo!return42
treats the `return42` part as a function call with no arguments instead of
passing the `return42` symbol to the Foo template. Note that this is still
true even if return42 takes arguments, it will treat it as an erroneous
function call.
--
More information about the Digitalmars-d-bugs
mailing list