Zserio C++ runtime library  1.0.0
Built for Zserio 2.13.0
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 #include "zserio/RebindAlloc.h"
6 
7 namespace zserio
8 {
9 
15 template <typename T, typename ALLOC = std::allocator<T>>
16 using vector = std::vector<T, RebindAlloc<ALLOC, T>>;
17 
18 } // namespace zserio
19 
20 #endif // ZSERIO_VECTOR_H_INC
std::vector< T, RebindAlloc< ALLOC, T >> vector
Definition: Vector.h:16