Template problem - if arg[0]==something; call arg[1];

wobbles via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 28 14:25:14 PDT 2015


On Wednesday, 27 May 2015 at 22:49:50 UTC, ketmar wrote:
> On Wed, 27 May 2015 22:49:18 +0000, ketmar wrote:
>
>>    i.e. `constructCases~(Aliases[2..$])`
> `constructCases!(Aliases[2..$])`, of course ;-)

Only getting back to this now...

Doesnt seem to work, I think I might rethink it and write a 
function (A usual function, rather than a Template). Easier for 
me to get my puny brain around it!


More information about the Digitalmars-d-learn mailing list