
13 Sep
2004
13 Sep
'04
6:46 p.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 ;+).