cds  2.3.2
cds::opt::allocator< Type > Struct Template Reference

[type-option] Option setter for an allocator More...

#include <cds/opt/options.h>

Detailed Description

template<typename Type>
struct cds::opt::allocator< Type >

[type-option] Option setter for an allocator

Type is allocator with std::allocator interface. Default is value of macro CDS_DEFAULT_ALLOCATOR that, in turn, is std::allocator.

The libcds containers actively use rebinding to convert an allocator of one type to another. Thus, you may specify any valid type as std::allocator's template parameter.

See also opt::node_allocator


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

cds 2.3.2 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Dec 31 2017 12:10:49 by Doxygen 1.8.13