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

The ordered associative container used by Bond. More...

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

Detailed Description

The ordered associative container used by Bond.

By default, Bond::Map<KeyType, ValueType, CompareType> is an alias of std::map whose memory is allocated from a Bond::Allocator via StlAllocator. CompareType defaults to std::less<KeyType>. It can be replaced by defining USER_BOND_MAP_HEADER. A replacement must provide a Bond::Map class template with the interface of std::map that is constructible from a StlAllocator.