Composing features at compile time

Dicebot public at dicebot.lv
Sun Nov 24 06:15:49 PST 2013


Well you can make one step forward and use policy-based design as 
described in Andrei's old C++ book ;) (replace boolean flags with 
template aliases to mixin, providing stub ones for "false") It 
does not fix `static-if` sequence but scales better in terms of 
configurability.


More information about the Digitalmars-d-learn mailing list