$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2004-09-13 19:46:28
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 ;+).