struct aligned_allocator

Declaration

template <typename T = int>
struct aligned_allocator { /* full declaration omitted */ };

Description

////////////////////////////////////////////////////////////////////////

Declared at: libs/pika/allocator_support/include/pika/allocator_support/aligned_allocator.hpp:116

Method Overview

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

Methods

pika::detail::aligned_allocator::pointer address(
    pika::detail::aligned_allocator::reference x)
    const noexcept

Declared at: libs/pika/allocator_support/include/pika/allocator_support/aligned_allocator.hpp:142

Parameters

pika::detail::aligned_allocator::reference x

pika::detail::aligned_allocator::const_pointer
address(pika::detail::aligned_allocator::
            const_reference x) const noexcept

Declared at: libs/pika/allocator_support/include/pika/allocator_support/aligned_allocator.hpp:147

Parameters

pika::detail::aligned_allocator::const_reference x

aligned_allocator<T>()

Declared at: libs/pika/allocator_support/include/pika/allocator_support/aligned_allocator.hpp:135

template <typename U>
aligned_allocator<T>(const aligned_allocator<U>&)

Declared at: libs/pika/allocator_support/include/pika/allocator_support/aligned_allocator.hpp:138

Parameters

const aligned_allocator<U>&

pika::detail::aligned_allocator::pointer allocate(
    pika::detail::aligned_allocator::size_type n,
    const void* = nullptr)

Declared at: libs/pika/allocator_support/include/pika/allocator_support/aligned_allocator.hpp:152

Parameters

pika::detail::aligned_allocator::size_type n
const void* = nullptr

template <typename U, typename... Args>
void construct(U* p, Args&&... args)

Declared at: libs/pika/allocator_support/include/pika/allocator_support/aligned_allocator.hpp:181

Parameters

U* p
Args&&... args

void deallocate(
    pika::detail::aligned_allocator::pointer p,
    pika::detail::aligned_allocator::size_type)

Declared at: libs/pika/allocator_support/include/pika/allocator_support/aligned_allocator.hpp:170

Parameters

pika::detail::aligned_allocator::pointer p
pika::detail::aligned_allocator::size_type

template <typename U>
void destroy(U* p)

Declared at: libs/pika/allocator_support/include/pika/allocator_support/aligned_allocator.hpp:187

Parameters

U* p

pika::detail::aligned_allocator::size_type
max_size() const noexcept

Declared at: libs/pika/allocator_support/include/pika/allocator_support/aligned_allocator.hpp:175