typeof function literals which define the types of its parameters but do not give their parameters names
Adam D. Ruppe
destructionator at gmail.com
Thu Dec 27 15:53:13 UTC 2018
On Thursday, 27 December 2018 at 15:39:23 UTC, Steven
Schveighoffer wrote:
> A template evaluating to a type void is how
> is(typeof(someTemplateDefinition)) works.
Yeah, I know of that, but with __traits(isTemplate) now, I don't
think there's any good reason to use the old hack detection
anymore anyway.
More information about the Digitalmars-d-learn
mailing list