| common.hpp(3) | Library Functions Manual | common.hpp(3) |
NAME
common.hpp - Support common types - always included automatically.
SYNOPSIS
#include 'cereal/cereal.hpp'
Classes
class cereal::common_detail::is_enum< T >
Checks if a type is an enum.
Functions
template<class Archive, class T> void
cereal::common_detail::serializeArray (Archive &ar, T &array,
std::true_type)
Serialization for arrays if BinaryData is supported and we are
arithmetic. template<class Archive, class T> void
cereal::common_detail::serializeArray (Archive &ar, T &array,
std::false_type)
Serialization for arrays if BinaryData is not supported or we are not
arithmetic. template<class Archive, class T> std::enable_if<
common_detail::is_enum< T >::value,
typenamecommon_detail::is_enum< T >::base_type >::type
cereal::CEREAL_SAVE_MINIMAL_FUNCTION_NAME (Archive const &, T
const &t)
Saving for enum types. template<class Archive, class T>
std::enable_if< common_detail::is_enum< T >::value, void
>::type cereal::CEREAL_LOAD_MINIMAL_FUNCTION_NAME (Archive const
&, T &&t, typename common_detail::is_enum< T
>::base_type const &value)
Loading for enum types. template<class Archive, class T> void
cereal::CEREAL_SERIALIZE_FUNCTION_NAME (Archive &, T *&)
Serialization for raw pointers. template<class Archive, class T>
std::enable_if< std::is_array< T >::value, void >::type
cereal::CEREAL_SERIALIZE_FUNCTION_NAME (Archive &ar, T
&array)
Serialization for C style arrays.
Detailed Description
Support common types - always included automatically.
Function Documentation
template<class Archive, class T> void cereal::CEREAL_SERIALIZE_FUNCTION_NAME (Archive & , T *& ) [inline]
Serialization for raw pointers. This exists only to throw a static_assert to let users know we don't support raw pointers.
Author
Generated automatically by Doxygen for cereal from the source code.
| Sat Oct 10 2026 08:08:15 | cereal |