CTFE UFCs?
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Apr 14 09:46:40 PDT 2015
On Tue, 14 Apr 2015 11:20:38 -0400, bitwise wrote:
i believe that you can't do what you want in a way you want, 'cause UFCS
is not working for template args. but you can do this:
alias base(alias CC) = reflect!(CC.baseName());
...
static const(Refl) baseRefl = base!refl;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150414/5114fad7/attachment.sig>
More information about the Digitalmars-d-learn
mailing list