29 #include <boost/mpl/if.hpp> 30 #include <boost/type_traits/add_const.hpp> 31 #include <boost/type_traits/reference_traits.hpp> 40 typedef typename boost::mpl::if_<typename boost::is_reference<T>::type,
41 typename boost::add_reference<
typename boost::add_const<
43 typename boost::add_const<T>::type>::type
type;
boost::mpl::if_< typename boost::is_reference< T >::type, typename boost::add_reference< typename boost::add_const< typename boost::remove_reference< T >::type >::type >::type, typename boost::add_const< T >::type >::type type