|
Nektar++
|
#include <allocator.hpp>
Classes | |
| struct | rebind |
Public Types | |
| using | value_type = T |
| using | pointer = T * |
| using | const_pointer = const T * |
| using | reference = T & |
| using | const_reference = const T & |
| using | size_type = std::size_t |
| using | difference_type = std::ptrdiff_t |
| using | propagate_on_container_move_assignment = std::true_type |
| using | is_always_equal = std::true_type |
Public Member Functions | |
| aligned_allocator () noexcept=default | |
| template<typename U > | |
| aligned_allocator (const aligned_allocator< U, Alignment > &) noexcept | |
| T * | allocate (size_type n) |
| void | deallocate (T *p, size_type) noexcept |
| constexpr size_type | max_size () const noexcept |
| template<typename U , typename... Args> | |
| void | construct (U *p, Args &&...args) |
| template<typename U > | |
| void | destroy (U *p) |
Static Public Attributes | |
| static constexpr std::size_t | alignment = std::max(Alignment, alignof(T)) |
Definition at line 50 of file allocator.hpp.
| using tinysimd::aligned_allocator< T, Alignment >::const_pointer = const T * |
Definition at line 55 of file allocator.hpp.
| using tinysimd::aligned_allocator< T, Alignment >::const_reference = const T & |
Definition at line 57 of file allocator.hpp.
| using tinysimd::aligned_allocator< T, Alignment >::difference_type = std::ptrdiff_t |
Definition at line 59 of file allocator.hpp.
| using tinysimd::aligned_allocator< T, Alignment >::is_always_equal = std::true_type |
Definition at line 62 of file allocator.hpp.
| using tinysimd::aligned_allocator< T, Alignment >::pointer = T * |
Definition at line 54 of file allocator.hpp.
| using tinysimd::aligned_allocator< T, Alignment >::propagate_on_container_move_assignment = std::true_type |
Definition at line 61 of file allocator.hpp.
| using tinysimd::aligned_allocator< T, Alignment >::reference = T & |
Definition at line 56 of file allocator.hpp.
| using tinysimd::aligned_allocator< T, Alignment >::size_type = std::size_t |
Definition at line 58 of file allocator.hpp.
| using tinysimd::aligned_allocator< T, Alignment >::value_type = T |
Definition at line 53 of file allocator.hpp.
|
defaultnoexcept |
|
inlinenoexcept |
Definition at line 77 of file allocator.hpp.
|
inline |
Definition at line 81 of file allocator.hpp.
References tinysimd::aligned_allocator< T, Alignment >::alignment, and tinysimd::aligned_allocator< T, Alignment >::max_size().
|
inline |
Definition at line 111 of file allocator.hpp.
|
inlinenoexcept |
Definition at line 91 of file allocator.hpp.
References tinysimd::aligned_allocator< T, Alignment >::alignment.
|
inline |
Definition at line 119 of file allocator.hpp.
|
inlineconstexprnoexcept |
Definition at line 99 of file allocator.hpp.
Referenced by tinysimd::aligned_allocator< T, Alignment >::allocate().
|
staticconstexpr |
Definition at line 64 of file allocator.hpp.
Referenced by tinysimd::aligned_allocator< T, Alignment >::allocate(), and tinysimd::aligned_allocator< T, Alignment >::deallocate().