Composing features at compile time
Philippe Sigaud
philippe.sigaud at gmail.com
Sun Nov 24 06:23:46 PST 2013
But how do you use policies to inject different code in different
places of your struct?
On Sun, Nov 24, 2013 at 3:15 PM, Dicebot <public at dicebot.lv> wrote:
> 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