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

The doubly linked list container used by Bond. More...

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

Detailed Description

The doubly linked list container used by Bond.

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