|
CoreNEURON
|
C++ allocator that uses [de]allocate_unified. More...
C++ allocator that uses [de]allocate_unified.
#include <memory.h>
Public Types | |
| using | value_type = T |
Public Member Functions | |
| unified_allocator ()=default | |
| template<typename U > | |
| unified_allocator (unified_allocator< U > const &) noexcept | |
| value_type * | allocate (std::size_t n) |
| void | deallocate (value_type *p, std::size_t n) noexcept |
| using coreneuron::unified_allocator< T >::value_type = T |
|
default |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |