diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:38:45 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:39:52 +0900 |
commit | 5cde13f21d36c7224b0e13d11c4b49379ae5210d (patch) | |
tree | e8269ac85a4b0f7d416e2565fa4f451b5cb41351 /boost/mpi | |
parent | d9ec475d945d3035377a0d89ed42e382d8988891 (diff) | |
download | boost-5cde13f21d36c7224b0e13d11c4b49379ae5210d.tar.gz boost-5cde13f21d36c7224b0e13d11c4b49379ae5210d.tar.bz2 boost-5cde13f21d36c7224b0e13d11c4b49379ae5210d.zip |
Imported Upstream version 1.61.0
Change-Id: I96a1f878d1e6164f01e9aadd5147f38fca448d90
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/mpi')
-rw-r--r-- | boost/mpi/communicator.hpp | 4 | ||||
-rw-r--r-- | boost/mpi/detail/binary_buffer_iprimitive.hpp | 4 | ||||
-rw-r--r-- | boost/mpi/detail/binary_buffer_oprimitive.hpp | 4 | ||||
-rw-r--r-- | boost/mpi/detail/forward_iprimitive.hpp | 2 | ||||
-rw-r--r-- | boost/mpi/detail/forward_oprimitive.hpp | 2 | ||||
-rw-r--r-- | boost/mpi/detail/ignore_iprimitive.hpp | 2 | ||||
-rw-r--r-- | boost/mpi/detail/ignore_oprimitive.hpp | 2 | ||||
-rw-r--r-- | boost/mpi/detail/mpi_datatype_primitive.hpp | 2 | ||||
-rw-r--r-- | boost/mpi/detail/packed_iprimitive.hpp | 4 | ||||
-rw-r--r-- | boost/mpi/detail/packed_oprimitive.hpp | 2 |
10 files changed, 14 insertions, 14 deletions
diff --git a/boost/mpi/communicator.hpp b/boost/mpi/communicator.hpp index fcef0866a9..46f7375d6f 100644 --- a/boost/mpi/communicator.hpp +++ b/boost/mpi/communicator.hpp @@ -1257,7 +1257,7 @@ communicator::array_recv_impl(int source, int tag, T* values, int n, ia >> count; // Deserialize the data in the message - boost::serialization::array<T> arr(values, count > n? n : count); + boost::serialization::array_wrapper<T> arr(values, count > n? n : count); ia >> arr; if (count > n) { @@ -1459,7 +1459,7 @@ namespace detail { ia >> count; // Deserialize the data in the message - boost::serialization::array<T> arr(values, count > n? n : count); + boost::serialization::array_wrapper<T> arr(values, count > n? n : count); ia >> arr; if (count > n) { diff --git a/boost/mpi/detail/binary_buffer_iprimitive.hpp b/boost/mpi/detail/binary_buffer_iprimitive.hpp index f499d0d5a8..388cd44c14 100644 --- a/boost/mpi/detail/binary_buffer_iprimitive.hpp +++ b/boost/mpi/detail/binary_buffer_iprimitive.hpp @@ -66,7 +66,7 @@ public: // fast saving of arrays of fundamental types template<class T> - void load_array(serialization::array<T> const& x, unsigned int /* file_version */) + void load_array(serialization::array_wrapper<T> const& x, unsigned int /* file_version */) { BOOST_MPL_ASSERT((serialization::is_bitwise_serializable<BOOST_DEDUCED_TYPENAME remove_const<T>::type>)); if (x.count()) @@ -76,7 +76,7 @@ public: typedef serialization::is_bitwise_serializable<mpl::_1> use_array_optimization; template<class T> - void load(serialization::array<T> const& x) + void load(serialization::array_wrapper<T> const& x) { load_array(x,0u); } diff --git a/boost/mpi/detail/binary_buffer_oprimitive.hpp b/boost/mpi/detail/binary_buffer_oprimitive.hpp index facf36067b..1de441d26b 100644 --- a/boost/mpi/detail/binary_buffer_oprimitive.hpp +++ b/boost/mpi/detail/binary_buffer_oprimitive.hpp @@ -55,7 +55,7 @@ public: // fast saving of arrays template<class T> - void save_array(serialization::array<T> const& x, unsigned int /* file_version */) + void save_array(serialization::array_wrapper<T> const& x, unsigned int /* file_version */) { BOOST_MPL_ASSERT((serialization::is_bitwise_serializable<BOOST_DEDUCED_TYPENAME remove_const<T>::type>)); @@ -64,7 +64,7 @@ public: } template<class T> - void save(serialization::array<T> const& x) + void save(serialization::array_wrapper<T> const& x) { save_array(x,0u); } diff --git a/boost/mpi/detail/forward_iprimitive.hpp b/boost/mpi/detail/forward_iprimitive.hpp index 44e7100093..33d39fd580 100644 --- a/boost/mpi/detail/forward_iprimitive.hpp +++ b/boost/mpi/detail/forward_iprimitive.hpp @@ -42,7 +42,7 @@ public: /// loading of arrays is forwarded to the implementation archive template<class T> - void load_array(serialization::array<T> & x, unsigned int file_version ) + void load_array(serialization::array_wrapper<T> & x, unsigned int file_version ) { implementation_archive.load_array(x,file_version); } diff --git a/boost/mpi/detail/forward_oprimitive.hpp b/boost/mpi/detail/forward_oprimitive.hpp index cd232ae5ad..78f7ca02f6 100644 --- a/boost/mpi/detail/forward_oprimitive.hpp +++ b/boost/mpi/detail/forward_oprimitive.hpp @@ -43,7 +43,7 @@ public: /// saving of arrays is forwarded to the implementation archive template<class T> - void save_array(serialization::array<T> const& x, unsigned int file_version ) + void save_array(serialization::array_wrapper<T> const& x, unsigned int file_version ) { implementation_archive.save_array(x,file_version); } diff --git a/boost/mpi/detail/ignore_iprimitive.hpp b/boost/mpi/detail/ignore_iprimitive.hpp index eb3d2b78fb..151ed0b348 100644 --- a/boost/mpi/detail/ignore_iprimitive.hpp +++ b/boost/mpi/detail/ignore_iprimitive.hpp @@ -37,7 +37,7 @@ public: /// don't do anything when loading arrays template<class T> - void load_array(serialization::array<T> &, unsigned int ) + void load_array(serialization::array_wrapper<T> &, unsigned int ) {} typedef is_mpi_datatype<mpl::_1> use_array_optimization; diff --git a/boost/mpi/detail/ignore_oprimitive.hpp b/boost/mpi/detail/ignore_oprimitive.hpp index 23375cad7b..4f2994bfc7 100644 --- a/boost/mpi/detail/ignore_oprimitive.hpp +++ b/boost/mpi/detail/ignore_oprimitive.hpp @@ -36,7 +36,7 @@ public: /// don't do anything when saving arrays template<class T> - void save_array(serialization::array<T> const&, unsigned int ) + void save_array(serialization::array_wrapper<T> const&, unsigned int ) { } diff --git a/boost/mpi/detail/mpi_datatype_primitive.hpp b/boost/mpi/detail/mpi_datatype_primitive.hpp index 0a6078548f..c230055ab5 100644 --- a/boost/mpi/detail/mpi_datatype_primitive.hpp +++ b/boost/mpi/detail/mpi_datatype_primitive.hpp @@ -63,7 +63,7 @@ public: // fast saving of arrays of MPI types template<class T> - void save_array(serialization::array<T> const& x, unsigned int /* version */) + void save_array(serialization::array_wrapper<T> const& x, unsigned int /* version */) { if (x.count()) save_impl(x.address(), boost::mpi::get_mpi_datatype(*x.address()), x.count()); diff --git a/boost/mpi/detail/packed_iprimitive.hpp b/boost/mpi/detail/packed_iprimitive.hpp index bb471a7c66..7080cbf53b 100644 --- a/boost/mpi/detail/packed_iprimitive.hpp +++ b/boost/mpi/detail/packed_iprimitive.hpp @@ -64,7 +64,7 @@ public: // fast saving of arrays of fundamental types template<class T> - void load_array(serialization::array<T> const& x, unsigned int /* file_version */) + void load_array(serialization::array_wrapper<T> const& x, unsigned int /* file_version */) { if (x.count()) load_impl(x.address(), get_mpi_datatype(*x.address()), x.count()); @@ -72,7 +72,7 @@ public: /* template<class T> - void load(serialization::array<T> const& x) + void load(serialization::array_wrapper<T> const& x) { load_array(x,0u); } diff --git a/boost/mpi/detail/packed_oprimitive.hpp b/boost/mpi/detail/packed_oprimitive.hpp index 5ac6835e15..5b6b3b2708 100644 --- a/boost/mpi/detail/packed_oprimitive.hpp +++ b/boost/mpi/detail/packed_oprimitive.hpp @@ -54,7 +54,7 @@ public: // fast saving of arrays template<class T> - void save_array(serialization::array<T> const& x, unsigned int /* file_version */) + void save_array(serialization::array_wrapper<T> const& x, unsigned int /* file_version */) { if (x.count()) save_impl(x.address(), get_mpi_datatype(*x.address()), x.count()); |