cereal
A C++11 library for serialization
Functions

Support for types found in <vector> More...

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

Go to the source code of this file.

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>