Savarese Software Research Corporation
serialize_shared_ptr.h File Reference

This header defines serialization functions for boost::shared_ptr to avoid the memory leaks in the boost 1.41.0 implementation and taking advantage that Wispers does not require object tracking or serialization of polymorphic types via base class pointers. More...

#include <ssrc/wispers-packages.h>
#include <boost/mpl/integral_c.hpp>
#include <boost/mpl/integral_c_tag.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/serialization/split_free.hpp>
#include <boost/serialization/nvp.hpp>
#include <boost/serialization/version.hpp>
Include dependency graph for serialize_shared_ptr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  boost::serialization::version< boost::shared_ptr< T > >
struct  boost::serialization::tracking_level< boost::shared_ptr< T > >

Namespaces

namespace  boost
namespace  boost::serialization

Functions

template<class Archive , class T >
void boost::serialization::save (Archive &ar, const boost::shared_ptr< T > &value, const unsigned int)
template<class Archive , class T >
void boost::serialization::load (Archive &ar, boost::shared_ptr< T > &value, const unsigned int)
template<class Archive , class T >
void boost::serialization::serialize (Archive &ar, boost::shared_ptr< T > &value, const unsigned int version)

Detailed Description

This header defines serialization functions for boost::shared_ptr to avoid the memory leaks in the boost 1.41.0 implementation and taking advantage that Wispers does not require object tracking or serialization of polymorphic types via base class pointers.

Definition in file serialize_shared_ptr.h.


Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.