OS Manuals

common.hpp(3)

common.hpp - Support common types - always included automatically.

common.hpp(3) Library Functions Manual common.hpp(3)

common.hpp - Support common types - always included automatically.

#include 'cereal/cereal.hpp'


class cereal::common_detail::is_enum< T >
Checks if a type is an enum.


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.

Support common types - always included automatically.

Serialization for raw pointers. This exists only to throw a static_assert to let users know we don't support raw pointers.

Generated automatically by Doxygen for cereal from the source code.

Sat Aug 29 2026 00:42:30 cereal

cereal 1.3.2-r5 · enterprise-packages · ingested 2026-10-02