Generating members from parameter tuple

Dicebot public at dicebot.lv
Mon Aug 19 09:40:44 PDT 2013


On Monday, 19 August 2013 at 06:56:24 UTC, Brad Anderson wrote:
> ...

I remember asking Andrei on IRC about feature as "declaration 
foreach" to exactly simplify such patterns. He kind of agreed it 
may be useful and wanted to consult with Walter if it is worth a 
DIP but seems like everyone including me has forgot it :)

In a meanwhile, here is a recursive template-based alternative:

http://dpaste.dzfl.pl/f9def804


More information about the Digitalmars-d-learn mailing list