
14 Sep
2004
14 Sep
'04
12:46 a.m.
Oops... Have to correct / annotade my code:
, any BOOST_PP_INTERCEPT), ...); \
^ Needs BOOST_PP_COMMA_IF( BOOST_PP_DEC( arity ) ) in order to work with an arity of 1.
typedef typename add_reference< typename mpl::if_< is_fundamental<T> ^^^^^^^^^^^^^^
This detection does not cover all cases. However, it's expressive enough to get the idea and free of obvious mistakes, now - I hope ;+).