| vector.hpp(3) | Library Functions Manual | vector.hpp(3) |
NAME
vector.hpp - Support for types found in <vector>.
SYNOPSIS
#include 'cereal/cereal.hpp'
#include <vector>
Functions
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.
Detailed Description
Support for types found in <vector>.
Author
Generated automatically by Doxygen for cereal from the source code.
| Mon Oct 26 2026 20:39:03 | cereal |