Logo ROOT  
Reference Guide
ROOT::Detail::VecOps::RAdoptAllocator< bool > Class Reference

Definition at line 150 of file RAdoptAllocator.hxx.

Classes

struct  rebind
 

Public Types

using const_pointer = typename StdAlloc_t::const_pointer
 
using const_reference = typename StdAlloc_t::const_reference
 
using difference_type = typename StdAlloc_t::difference_type
 
using pointer = typename StdAlloc_t::pointer
 
using reference = typename StdAlloc_t::reference
 
using size_type = typename StdAlloc_t::size_type
 
using StdAlloc_t = std::allocator< bool >
 
using value_type = typename StdAlloc_t::value_type
 

Public Member Functions

 RAdoptAllocator ()=default
 
 RAdoptAllocator (const RAdoptAllocator &)=default
 
template<typename U >
 RAdoptAllocator (const RAdoptAllocator< U > &o)
 
bool * allocate (std::size_t n)
 
template<typename U , class... Args>
void construct (U *p, Args &&... args)
 
void deallocate (bool *p, std::size_t s) noexcept
 
template<class U >
void destroy (U *p)
 
bool operator!= (const RAdoptAllocator &)
 
bool operator== (const RAdoptAllocator &)
 

Private Attributes

std::allocator< bool > fStdAllocator
 

Friends

template<typename T >
class RAdoptAllocator
 

#include <ROOT/RAdoptAllocator.hxx>

Member Typedef Documentation

◆ const_pointer

using ROOT::Detail::VecOps::RAdoptAllocator< bool >::const_pointer = typename StdAlloc_t::const_pointer

Definition at line 165 of file RAdoptAllocator.hxx.

◆ const_reference

using ROOT::Detail::VecOps::RAdoptAllocator< bool >::const_reference = typename StdAlloc_t::const_reference

Definition at line 167 of file RAdoptAllocator.hxx.

◆ difference_type

using ROOT::Detail::VecOps::RAdoptAllocator< bool >::difference_type = typename StdAlloc_t::difference_type

Definition at line 169 of file RAdoptAllocator.hxx.

◆ pointer

using ROOT::Detail::VecOps::RAdoptAllocator< bool >::pointer = typename StdAlloc_t::pointer

Definition at line 164 of file RAdoptAllocator.hxx.

◆ reference

using ROOT::Detail::VecOps::RAdoptAllocator< bool >::reference = typename StdAlloc_t::reference

Definition at line 166 of file RAdoptAllocator.hxx.

◆ size_type

using ROOT::Detail::VecOps::RAdoptAllocator< bool >::size_type = typename StdAlloc_t::size_type

Definition at line 168 of file RAdoptAllocator.hxx.

◆ StdAlloc_t

using ROOT::Detail::VecOps::RAdoptAllocator< bool >::StdAlloc_t = std::allocator<bool>

Definition at line 162 of file RAdoptAllocator.hxx.

◆ value_type

using ROOT::Detail::VecOps::RAdoptAllocator< bool >::value_type = typename StdAlloc_t::value_type

Definition at line 163 of file RAdoptAllocator.hxx.

Constructor & Destructor Documentation

◆ RAdoptAllocator() [1/3]

ROOT::Detail::VecOps::RAdoptAllocator< bool >::RAdoptAllocator ( )
default

◆ RAdoptAllocator() [2/3]

ROOT::Detail::VecOps::RAdoptAllocator< bool >::RAdoptAllocator ( const RAdoptAllocator< bool > &  )
default

◆ RAdoptAllocator() [3/3]

template<typename U >
ROOT::Detail::VecOps::RAdoptAllocator< bool >::RAdoptAllocator ( const RAdoptAllocator< U > &  o)
inline

Definition at line 175 of file RAdoptAllocator.hxx.

Member Function Documentation

◆ allocate()

bool * ROOT::Detail::VecOps::RAdoptAllocator< bool >::allocate ( std::size_t  n)
inline

Definition at line 181 of file RAdoptAllocator.hxx.

◆ construct()

template<typename U , class... Args>
void ROOT::Detail::VecOps::RAdoptAllocator< bool >::construct ( U *  p,
Args &&...  args 
)
inline

Definition at line 184 of file RAdoptAllocator.hxx.

◆ deallocate()

void ROOT::Detail::VecOps::RAdoptAllocator< bool >::deallocate ( bool *  p,
std::size_t  s 
)
inlinenoexcept

Definition at line 189 of file RAdoptAllocator.hxx.

◆ destroy()

template<class U >
void ROOT::Detail::VecOps::RAdoptAllocator< bool >::destroy ( U *  p)
inline

Definition at line 192 of file RAdoptAllocator.hxx.

◆ operator!=()

bool ROOT::Detail::VecOps::RAdoptAllocator< bool >::operator!= ( const RAdoptAllocator< bool > &  )
inline

Definition at line 199 of file RAdoptAllocator.hxx.

◆ operator==()

bool ROOT::Detail::VecOps::RAdoptAllocator< bool >::operator== ( const RAdoptAllocator< bool > &  )
inline

Definition at line 197 of file RAdoptAllocator.hxx.

Friends And Related Function Documentation

◆ RAdoptAllocator

template<typename T >
friend class RAdoptAllocator
friend

Definition at line 160 of file RAdoptAllocator.hxx.

Member Data Documentation

◆ fStdAllocator

std::allocator<bool> ROOT::Detail::VecOps::RAdoptAllocator< bool >::fStdAllocator
private

Definition at line 151 of file RAdoptAllocator.hxx.


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