On 06/06/2012 08:24, Eric Niebler wrote:
The template template parameter is distasteful, I agree, but I can shave template instantiations this way. There's no need to instantiate a nested apply template for every new expression type created. Especially now with template aliases, it's quite painless to adapt a template to have the interface that make_custom_expr expects. That was my reasoning, at least.
I hadn't considered template aliases, I guess with those it is just fine. _______________________________________________ proto mailing list proto@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/proto