1 #ifndef QPID_INLINEVECTOR_H
2 #define QPID_INLINEVECTOR_H
40 template <
class T,
size_t Max,
class Alloc=std::allocator<T> >
41 class InlineVector :
public std::vector<T, InlineAllocator<Alloc, Max> >
43 typedef std::vector<T, InlineAllocator<Alloc, Max> > Base;
56 this->reserve(std::max(n, Max));
57 this->insert(this->end(), n, x);
61 this->reserve(std::max(x.size(), Max));