Grok 12.0.1
Public Types | Public Member Functions | List of all members
hwy::AlignedAllocator< T > Struct Template Reference

#include <aligned_allocator.h>

Public Types

using value_type = T
 

Public Member Functions

 AlignedAllocator ()=default
 
template<class V >
 AlignedAllocator (const AlignedAllocator< V > &) noexcept
 
template<class V >
value_typeallocate (V n)
 
template<class V >
void deallocate (value_type *p, HWY_MAYBE_UNUSED V n)
 

Member Typedef Documentation

◆ value_type

template<class T >
using hwy::AlignedAllocator< T >::value_type = T

Constructor & Destructor Documentation

◆ AlignedAllocator() [1/2]

template<class T >
hwy::AlignedAllocator< T >::AlignedAllocator ( )
default

◆ AlignedAllocator() [2/2]

template<class T >
template<class V >
hwy::AlignedAllocator< T >::AlignedAllocator ( const AlignedAllocator< V > & )
inlineexplicitnoexcept

Member Function Documentation

◆ allocate()

template<class T >
template<class V >
value_type * hwy::AlignedAllocator< T >::allocate ( V n)
inline

◆ deallocate()

template<class T >
template<class V >
void hwy::AlignedAllocator< T >::deallocate ( value_type * p,
HWY_MAYBE_UNUSED V n )
inline

The documentation for this struct was generated from the following file: