Specialization for std::map-compliant types. More...
#include <reg_map_specializations.hpp>
Public Types | |
typedef S11N_MAP_TYPE< T1, T2 > | serializable_type |
Public Member Functions | |
void | operator() (serializable_type &p) const throw () |
ACHTUNG: it can only deallocate the .second member of each mapped pair, because the first is const. |
Specialization for std::map-compliant types.
Definition at line 32 of file reg_map_specializations.hpp.
typedef S11N_MAP_TYPE<T1,T2> s11n::default_cleanup_functor< S11N_MAP_TYPE< T1, T2 > >::serializable_type |
Definition at line 34 of file reg_map_specializations.hpp.
void s11n::default_cleanup_functor< S11N_MAP_TYPE< T1, T2 > >::operator() | ( | serializable_type & | p | ) | const throw () [inline] |
ACHTUNG: it can only deallocate the .second member of each mapped pair, because the first is const.
Since it would be very unusual to serialize a map keyed on unmanaged pointers, this is not seen as a major problem.
After this call, p is empty.
Definition at line 45 of file reg_map_specializations.hpp.
References S11N_TRACE, and s11n::debug::TRACE_CLEANUP.