|
Thrill
0.1
|
Definition at line 127 of file allocator.hpp.
Collaboration diagram for Allocator< void >:#include <allocator.hpp>
Classes | |
| struct | rebind |
Public Types | |
| using | const_pointer = const void * |
| using | is_always_equal = std::false_type |
| C++11 type flag. More... | |
| using | pointer = void * |
| using | value_type = void |
Public Member Functions | |
| Allocator (Manager &manager) noexcept | |
| Construct Allocator with Manager object. More... | |
| Allocator (const Allocator &) noexcept=default | |
| copy-constructor More... | |
| template<typename OtherType > | |
| Allocator (const Allocator< OtherType > &other) noexcept | |
| copy-constructor from a rebound allocator More... | |
| template<typename Other > | |
| bool | operator!= (const Allocator< Other > &other) const noexcept |
| Compare to another allocator of same type. More... | |
| template<typename Other > | |
| bool | operator== (const Allocator< Other > &other) const noexcept |
| Compare to another allocator of same type. More... | |
Public Attributes | |
| Manager * | manager_ |
| using const_pointer = const void* |
Definition at line 131 of file allocator.hpp.
| using is_always_equal = std::false_type |
C++11 type flag.
Definition at line 135 of file allocator.hpp.
| using pointer = void* |
Definition at line 130 of file allocator.hpp.
| using value_type = void |
Definition at line 132 of file allocator.hpp.
Construct Allocator with Manager object.
Definition at line 141 of file allocator.hpp.
References Allocator< Type >::Allocator().
copy-constructor from a rebound allocator
Definition at line 149 of file allocator.hpp.
|
inlinenoexcept |
Compare to another allocator of same type.
Definition at line 164 of file allocator.hpp.
|
inlinenoexcept |
Compare to another allocator of same type.
Definition at line 158 of file allocator.hpp.
| Manager* manager_ |
pointer to common Manager object. If we use a reference here, then the allocator cannot be default move/assigned anymore.
Definition at line 154 of file allocator.hpp.