
10 Mar
2008
10 Mar
'08
11:11 p.m.
Larry Evans wrote:
The args.hpp code here:
http://svn.boost.org/trac/boost/browser/branches/proto/v3/boost/xpressive/pr...
around line 61 contains:
<snip>
I don't understand why BOOST_PP_ENUM_PARMS is used in the same statement as Args.... AFAICT, the BOOST_PP_ENUM_PARMS should be used when #undef BOOST_HAS_VARIADIC_TMPL and the Args... when #define BOOST_HAS_VARIADIC_TMPL.
Am I missing something?
It uses the preprocessor to do loop unrolling. It was an effort to bring compile times under control by reducing the number of template instantiations. -- Eric Niebler Boost Consulting www.boost-consulting.com