11 #ifndef __VECTOR_SUPPORT_HEADER
12 #define __VECTOR_SUPPORT_HEADER
17 template<
typename T,
typename S>
18 S & operator<<(S & os, std::vector<T>
const & arg) {
19 typedef typename std::vector<T>::size_type size_type;
21 for(size_type
i = 0;
i < arg.size(); ++
i) {
23 if(
i != arg.size() - 1)
30 template<
typename T,
typename Archive>
31 void serialize(Archive & ar, std::vector<T> & arg) {
33 size_type size_ = arg.size();
38 for(size_type
i = 0;
i < size_; ++
i) {
43 #endif //__VECTOR_SUPPORT_HEADER
void serialize(Archive &ar, T &t)
Definition: serializer.hpp:95
uint16_t size_type
Definition: vector.hpp:24