OS Manuals

vector.hpp(3)

vector.hpp - Support for types found in <vector>.

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

vector.hpp - Support for types found in <vector>.

#include 'cereal/cereal.hpp'
#include <vector>


template<class Archive, class T, class A> std::enable_if< traits::is_output_serializable< BinaryData< T >, Archive >::value &&std::is_arithmetic< T >::value &&!std::is_same< T, bool >::value, void >::type cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, std::vector< T, A > const &vector)
Serialization for std::vectors of arithmetic (but not bool) using binary serialization, if supported. template<class Archive, class T, class A> std::enable_if< traits::is_input_serializable< BinaryData< T >, Archive >::value &&std::is_arithmetic< T >::value &&!std::is_same< T, bool >::value, void >::type cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, std::vector< T, A > &vector)
Serialization for std::vectors of arithmetic (but not bool) using binary serialization, if supported. template<class Archive, class T, class A> std::enable_if<(!traits::is_output_serializable< BinaryData< T >, Archive >::value||!std::is_arithmetic< T >::value)&&!std::is_same< T, bool >::value, void >::type cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, std::vector< T, A > const &vector)
Serialization for non-arithmetic vector types. template<class Archive, class T, class A> std::enable_if<(!traits::is_input_serializable< BinaryData< T >, Archive >::value||!std::is_arithmetic< T >::value)&&!std::is_same< T, bool >::value, void >::type cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, std::vector< T, A > &vector)
Serialization for non-arithmetic vector types. template<class Archive, class A> void cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, std::vector< bool, A > const &vector)
Serialization for bool vector types. template<class Archive, class A> void cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, std::vector< bool, A > &vector)
Serialization for bool vector types.

Support for types found in <vector>.

Generated automatically by Doxygen for cereal from the source code.

Sat Oct 10 2026 08:08:15 cereal

cereal 1.3.2-r6 · enterprise-packages · ingested 2026-10-10