
"Jonathan Turkanis" <technews@kangaroologic.com> writes:
"Robert Ramey" <ramey@rrsd.com> wrote in message news:20040913173738.24EAC3123A@acme.west.net...
Would someone have a fit if something like this were added to boost/mpl ?
template< typename C , typename F1 , typename F2 > struct apply_if { typedef BOOST_DEDUCED_TYPENAME eval_if<C,F1,F2>::type type; };
How about
template< typename C , typename F1 , typename F2 > struct apply_if : eval_if<C,F1,F2> { };
Metafunction forwarding confuses some old broken compilers. Robert's version is a bit more conservative. But, really, how hard can a global search/replace be? Or is Spirit 1.6.1 archived? -- Dave Abrahams Boost Consulting http://www.boost-consulting.com