Zserio C++ runtime library  1.0.2
Built for Zserio 2.14.1
Vector.h
Go to the documentation of this file.
1 #ifndef ZSERIO_VECTOR_H_INC
2 #define ZSERIO_VECTOR_H_INC
3 
4 #include <vector>
5 
6 #include "zserio/RebindAlloc.h"
7 
8 namespace zserio
9 {
10 
16 template <typename T, typename ALLOC = std::allocator<T>>
17 using vector = std::vector<T, RebindAlloc<ALLOC, T>>;
18 
19 } // namespace zserio
20 
21 #endif // ZSERIO_VECTOR_H_INC
std::vector< T, RebindAlloc< ALLOC, T > > vector
Definition: Vector.h:17