Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65556 - trunk/boost/mpi
From: troyer_at_[hidden]
Date: 2010-09-23 15:26:27


Author: troyer
Date: 2010-09-23 15:26:26 EDT (Thu, 23 Sep 2010)
New Revision: 65556
URL: http://svn.boost.org/trac/boost/changeset/65556

Log:
Added shared pointer support
Text files modified:
   trunk/boost/mpi/packed_oarchive.hpp | 6 ++++--
   1 files changed, 4 insertions(+), 2 deletions(-)

Modified: trunk/boost/mpi/packed_oarchive.hpp
==============================================================================
--- trunk/boost/mpi/packed_oarchive.hpp (original)
+++ trunk/boost/mpi/packed_oarchive.hpp 2010-09-23 15:26:26 EDT (Thu, 23 Sep 2010)
@@ -21,6 +21,7 @@
 #include <boost/mpi/datatype.hpp>
 #include <boost/archive/detail/auto_link_archive.hpp>
 #include <boost/archive/detail/common_oarchive.hpp>
+#include <boost/archive/shared_ptr_helper.hpp>
 #include <boost/mpi/detail/packed_oprimitive.hpp>
 #include <boost/mpi/detail/binary_buffer_oprimitive.hpp>
 #include <boost/serialization/string.hpp>
@@ -45,8 +46,9 @@
  */
   
 class BOOST_MPI_DECL packed_oarchive
- : public oprimitive,
- public archive::detail::common_oarchive<packed_oarchive>
+ : public oprimitive
+ , public archive::detail::common_oarchive<packed_oarchive>
+ , public archive::detail::shared_ptr_helper
 {
 public:
   /**


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk