qpid::InlineVector< T, Max, Alloc > Class Template Reference

A vector that stores up to Max elements in inline storage, otherwise uses normal vector allocation. More...

#include <InlineVector.h>

Inheritance diagram for qpid::InlineVector< T, Max, Alloc >:

Inheritance graph
[legend]

List of all members.

Public Types

typedef Base::allocator_type allocator_type
typedef Base::value_type value_type
typedef Base::size_type size_type

Public Member Functions

 InlineVector (const allocator_type &a=allocator_type())
 InlineVector (size_type n, const value_type &x=value_type(), const allocator_type &a=allocator_type())
 InlineVector (const InlineVector &x)


Detailed Description

template<class T, size_t Max, class Alloc = std::allocator<T>>
class qpid::InlineVector< T, Max, Alloc >

A vector that stores up to Max elements in inline storage, otherwise uses normal vector allocation.

NOTE: depends on some non-standard but highly probably assumptions about how std::vector uses its allocator, they are true for g++.


The documentation for this class was generated from the following file:

Generated on Thu May 15 22:22:20 2008 for Qpid by  doxygen 1.5.5