#include <s11n.net/s11n/exception.hpp>
#include <s11n.net/s11n/memory.tpp>
Go to the source code of this file.
Namespaces | |
namespace | s11n |
namespace | s11n::Detail |
Classes | |
struct | s11n::cleaner_upper |
Intended for use with for_each(), this type cleans up Serializables using cleanup_serializable(). More... | |
struct | s11n::cleanup_ptr< SerializableT > |
An auto_ptr-like type intended to simplify pointer/exception safety in some deserialization algorithms by providing a way to completely and safely destroy partially-deserialized objects. More... | |
struct | s11n::Detail::auto_ptr< T > |
We use a custom auto_ptr<> work-alike in place of std::auto_ptr so that s11n compiles cleanly under C++0x, where auto_ptr is apparently deprecated. More... | |
Defines | |
#define | S11N_NET_S11N_MEMORY_HPP_INCLUDED 1 |
Functions | |
template<typename SerializableType> | |
void | s11n::cleanup_serializable (SerializableType &s) throw () |
Calls s11n_traits<SerializableType>::cleanup_functor()(s). | |
template<typename SerializableType> | |
void | s11n::cleanup_serializable (SerializableType *&s) throw () |
This overload provides cleanup handling for pointer types. |
#define S11N_NET_S11N_MEMORY_HPP_INCLUDED 1 |
Definition at line 2 of file memory.hpp.