Capturing Caller UDAs as CT Template Function Parameters
via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon May 18 14:04:18 PDT 2015
On Monday, 18 May 2015 at 21:00:20 UTC, Per Nordlöw wrote:
> Is this doable somehow?
To clarify: Instead of *string* `__FUNCTION__` I instead want a
reference to the *symbol* of the calling function scope typically
passed as an alias parameter. We could of course always solve it
with a mixin but that is 6+1 characters too many ;)
More information about the Digitalmars-d-learn
mailing list