1 #ifndef BLUB_CORE_VECTOR_HPP
2 #define BLUB_CORE_VECTOR_HPP
4 #include "blub/core/globals.hpp"
5 #include "blub/serialization/access.hpp"
6 #include "blub/serialization/nameValuePair.hpp"
8 #include <boost/serialization/base_object.hpp>
9 #include <boost/serialization/vector.hpp>
22 typedef std::vector<T> t_base;
25 vector(
const std::size_t& size)
29 vector(
const std::size_t& size,
const T& value)
33 #if !defined BOOST_NO_CXX11_HDR_INITIALIZER_LIST || BOOST_CLANG == 1
40 BLUB_SERIALIZATION_ACCESS
41 template<
typename Archive>
42 void serialize(Archive & ar,
const unsigned int version)
45 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(t_base);
50 std::ostream& operator<< (std::ostream& ostr, const vector<T>& toCast)
53 for (
const T& elem : toCast)
63 #endif // BLUB_CORE_VECTOR_HPP
Definition: vector.hpp:19
Definition: deadlineTimer.hpp:10