DASH
0.3.0
|
Public Types | |
template<class U > | |
using | rebind = dash::GlobalAllocator< T, GlobMemType > |
Rebind to a different allocator type with same Memory Space. More... | |
using | value_type = typename detail::remove_cvref< T >::type |
using | pointer = typename std::pointer_traits< typename GlobMemType::void_pointer >::template rebind< value_type > |
using | memory_resource = GlobMemType |
Public Member Functions | |
constexpr | GlobalAllocator (memory_resource *memory_resource) noexcept |
template<class U > | |
GlobalAllocator (const GlobalAllocator< U, GlobMemType > &other) noexcept | |
pointer | allocate (std::size_t n) |
void | deallocate (pointer p, std::size_t n) |
memory_resource * | resource () const noexcept |
Definition at line 17 of file GlobalAllocator.h.
using dash::GlobalAllocator< T, GlobMemType >::rebind = dash::GlobalAllocator<T, GlobMemType> |
Rebind to a different allocator type with same Memory Space.
Definition at line 23 of file GlobalAllocator.h.