Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Classes | Public Types | Public Member Functions | List of all members
arrow::stl_allocator< T > Class Template Reference

#include <arrow/allocator.h>

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
 

Public Member Functions

 stl_allocator () noexcept
 
 stl_allocator (MemoryPool *pool) noexcept
 
template<class U >
 stl_allocator (const stl_allocator< U > &rhs) noexcept
 
 ~stl_allocator ()
 
pointer address (reference r) const noexcept
 
const_pointer address (const_reference r) const noexcept
 
pointer allocate (size_type n, const void *=NULLPTR)
 
void deallocate (pointer p, size_type n)
 
size_type size_max () const noexcept
 
template<class U , class... Args>
void construct (U *p, Args &&... args)
 
template<class U >
void destroy (U *p)
 
MemoryPoolpool () const noexcept
 

Member Typedef Documentation

◆ const_pointer

template<class T>
using arrow::stl_allocator< T >::const_pointer = const T*

◆ const_reference

template<class T>
using arrow::stl_allocator< T >::const_reference = const T&

◆ difference_type

template<class T>
using arrow::stl_allocator< T >::difference_type = std::ptrdiff_t

◆ pointer

template<class T>
using arrow::stl_allocator< T >::pointer = T*

◆ reference

template<class T>
using arrow::stl_allocator< T >::reference = T&

◆ size_type

template<class T>
using arrow::stl_allocator< T >::size_type = std::size_t

◆ value_type

template<class T>
using arrow::stl_allocator< T >::value_type = T

Constructor & Destructor Documentation

◆ stl_allocator() [1/3]

template<class T>
arrow::stl_allocator< T >::stl_allocator ( )
inlinenoexcept

◆ stl_allocator() [2/3]

template<class T>
arrow::stl_allocator< T >::stl_allocator ( MemoryPool pool)
inlineexplicitnoexcept

◆ stl_allocator() [3/3]

template<class T>
template<class U >
arrow::stl_allocator< T >::stl_allocator ( const stl_allocator< U > &  rhs)
inlinenoexcept

◆ ~stl_allocator()

template<class T>
arrow::stl_allocator< T >::~stl_allocator ( )
inline

Member Function Documentation

◆ address() [1/2]

template<class T>
pointer arrow::stl_allocator< T >::address ( reference  r) const
inlinenoexcept

◆ address() [2/2]

template<class T>
const_pointer arrow::stl_allocator< T >::address ( const_reference  r) const
inlinenoexcept

◆ allocate()

template<class T>
pointer arrow::stl_allocator< T >::allocate ( size_type  n,
const void *  = NULLPTR 
)
inline

◆ construct()

template<class T>
template<class U , class... Args>
void arrow::stl_allocator< T >::construct ( U *  p,
Args &&...  args 
)
inline

◆ deallocate()

template<class T>
void arrow::stl_allocator< T >::deallocate ( pointer  p,
size_type  n 
)
inline

◆ destroy()

template<class T>
template<class U >
void arrow::stl_allocator< T >::destroy ( U *  p)
inline

◆ pool()

template<class T>
MemoryPool* arrow::stl_allocator< T >::pool ( ) const
inlinenoexcept

◆ size_max()

template<class T>
size_type arrow::stl_allocator< T >::size_max ( ) const
inlinenoexcept

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