コード例 #1
0
ファイル: output_archive.hpp プロジェクト: akemp/hpx
 typename boost::enable_if<
     boost::mpl::or_<
         boost::is_integral<T>
       , boost::is_enum<T>
     >
 >::type
 save(T t)
 {
     save_integral(t,
         typename boost::is_unsigned<T>::type());
 }
コード例 #2
0
 void save(T const& t, typename boost::enable_if<boost::is_integral<T> >::type* = 0)
 {
     save_integral(t, typename boost::is_unsigned<T>::type());
 }