|
template<class T > |
PtrWrapper< T > | cereal::memory_detail::make_ptr_wrapper (T &&t) |
| Make a PtrWrapper.
|
|
template<class Archive , class T > |
void | cereal::memory_detail::loadAndConstructSharedPtr (Archive &ar, T *ptr, std::true_type) |
|
template<class Archive , class T > |
void | cereal::memory_detail::loadAndConstructSharedPtr (Archive &ar, T *ptr, std::false_type) |
|
template<class Archive , class T > |
std::enable_if<!std::is_polymorphic< T >::value, void >::type | cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, std::shared_ptr< T > const &ptr) |
| Saving std::shared_ptr for non polymorphic types.
|
|
template<class Archive , class T > |
std::enable_if<!std::is_polymorphic< T >::value, void >::type | cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, std::shared_ptr< T > &ptr) |
| Loading std::shared_ptr, case when no user load and construct for non polymorphic types.
|
|
template<class Archive , class T > |
std::enable_if<!std::is_polymorphic< T >::value, void >::type | cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, std::weak_ptr< T > const &ptr) |
| Saving std::weak_ptr for non polymorphic types.
|
|
template<class Archive , class T > |
std::enable_if<!std::is_polymorphic< T >::value, void >::type | cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, std::weak_ptr< T > &ptr) |
| Loading std::weak_ptr for non polymorphic types.
|
|
template<class Archive , class T , class D > |
std::enable_if<!std::is_polymorphic< T >::value, void >::type | cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, std::unique_ptr< T, D > const &ptr) |
| Saving std::unique_ptr for non polymorphic types.
|
|
template<class Archive , class T , class D > |
std::enable_if<!std::is_polymorphic< T >::value, void >::type | cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, std::unique_ptr< T, D > &ptr) |
| Loading std::unique_ptr, case when user provides load_and_construct for non polymorphic types.
|
|
template<class Archive , class T > |
void | cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, memory_detail::PtrWrapper< std::shared_ptr< T > const & > const &wrapper) |
| Saving std::shared_ptr (wrapper implementation)
|
|
template<class Archive , class T > |
std::enable_if< traits::has_load_and_construct< T, Archive >::value, void >::type | cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, memory_detail::PtrWrapper< std::shared_ptr< T > & > &wrapper) |
| Loading std::shared_ptr, case when user load and construct (wrapper implementation)
|
|
template<class Archive , class T > |
std::enable_if<!traits::has_load_and_construct< T, Archive >::value, void >::type | cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, memory_detail::PtrWrapper< std::shared_ptr< T > & > &wrapper) |
| Loading std::shared_ptr, case when no user load and construct (wrapper implementation)
|
|
template<class Archive , class T , class D > |
void | cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, memory_detail::PtrWrapper< std::unique_ptr< T, D > const & > const &wrapper) |
| Saving std::unique_ptr (wrapper implementation)
|
|
template<class Archive , class T , class D > |
std::enable_if< traits::has_load_and_construct< T, Archive >::value, void >::type | cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, memory_detail::PtrWrapper< std::unique_ptr< T, D > & > &wrapper) |
| Loading std::unique_ptr, case when user provides load_and_construct (wrapper implementation)
|
|
template<class Archive , class T , class D > |
std::enable_if<!traits::has_load_and_construct< T, Archive >::value, void >::type | cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, memory_detail::PtrWrapper< std::unique_ptr< T, D > & > &wrapper) |
| Loading std::unique_ptr, case when no load_and_construct (wrapper implementation)
|
|
Support for types found in <memory>