Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
vector.h File Reference

The dynamic array container used by Bond. More...

#include "bond/conf.h"
#include "bond/private/vector.h"

Detailed Description

The dynamic array container used by Bond.

By default, Bond::Vector<ValueType> is an alias of std::vector whose memory is allocated from a Bond::Allocator via StlAllocator. It can be replaced by defining USER_BOND_VECTOR_HEADER. A replacement must provide a Bond::Vector class template with the interface of std::vector that is constructible from a StlAllocator, e.g. Vector<int> v((Vector<int>::allocator_type(&allocator)));.