Capture parameter identifier name in a template?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 12 10:48:29 PDT 2014


On Tue, 12 Aug 2014 17:36:40 +0000
Maxime Chevalier-Boisvert via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:

> I'm just wondering if there's a way to template defRTConst so 
> that the name of an identifier I'm passing (e.g.: ATTR_DEFAULT)
seems that this is the work for mixins.
-------------- 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/20140812/28bf5288/attachment-0001.sig>


More information about the Digitalmars-d-learn mailing list