コード例 #1
0
 void save_array(serialization::array<T> const& x, unsigned int /* file_version */)
 {
 
   BOOST_MPL_ASSERT((serialization::is_bitwise_serializable<BOOST_DEDUCED_TYPENAME remove_const<T>::type>));
   if (x.count())
     save_impl(x.address(), x.count()*sizeof(T));
 }
コード例 #2
0
 void load_array(serialization::array<T> const& x, unsigned int /* file_version */)
 {
   if (x.count())
     load_impl(x.address(), get_mpi_datatype(*x.address()), x.count());
 }
コード例 #3
0
 void save_array(serialization::array<T> const& x, unsigned int /* version */)
 {
   if (x.count())
     save_impl(x.address(), boost::mpi::get_mpi_datatype(*x.address()), x.count());
 }