hpx/allocator_support/aligned_allocator.hpp

See Public API for a list of names and headers that are part of the public HPX API.

Functions

void *__aligned_alloc(std::size_t alignment, std::size_t size)
void __aligned_free(void *p)
namespace hpx
namespace util

Functions

template<typename T>
constexpr bool operator==(aligned_allocator<T> const&, aligned_allocator<T> const&)
template<typename T>
constexpr bool operator!=(aligned_allocator<T> const&, aligned_allocator<T> const&)
template<typename T = int>
struct aligned_allocator

Public Types

typedef T value_type
typedef T *pointer
typedef T &reference
typedef T const &const_reference
typedef std::size_t size_type
typedef std::ptrdiff_t difference_type
typedef std::true_type is_always_equal
typedef std::true_type propagate_on_container_move_assignment

Public Functions

aligned_allocator()
template<typename U>
aligned_allocator(aligned_allocator<U> const&)
pointer address(reference x) const
const_pointer address(const_reference x) const
pointer allocate(size_type n, void const* = nullptr)
void deallocate(pointer p, size_type)
size_type max_size() const
template<typename U, typename ...Args>
void construct(U *p, Args&&... args)
template<typename U>
void destroy(U *p)

Public Members

const typedef T* hpx::util::aligned_allocator::const_pointer
template<typename U>
struct rebind

Public Types

template<>
typedef aligned_allocator<U> other