C++11 allocator using volk_malloc and volk_free. More...
#include <volk_alloc.hh>
Public Types | |
| typedef T | value_type |
Public Member Functions | |
| alloc ()=default | |
| template<class U > | |
| constexpr | alloc (alloc< U > const &) noexcept |
| T * | allocate (std::size_t n) |
| void | deallocate (T *p, std::size_t) noexcept |
C++11 allocator using volk_malloc and volk_free.
adapted from https://en.cppreference.com/w/cpp/named_req/Alloc
| typedef T volk::alloc< T >::value_type |
|
default |
|
inlineconstexprnoexcept |
|
inline |
|
inlinenoexcept |