Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 StdAllocTraits_t = std::allocator_traits< StdAlloc_t >
 
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)
 
boolallocate (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< boolfStdAllocator
 

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.

◆ StdAllocTraits_t

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

Definition at line 170 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 176 of file RAdoptAllocator.hxx.

Member Function Documentation

◆ allocate()

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

Definition at line 182 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 185 of file RAdoptAllocator.hxx.

◆ deallocate()

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

Definition at line 190 of file RAdoptAllocator.hxx.

◆ destroy()

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

Definition at line 193 of file RAdoptAllocator.hxx.

◆ operator!=()

◆ operator==()

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

Definition at line 198 of file RAdoptAllocator.hxx.

Friends And Related Symbol 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.

  • math/vecops/inc/ROOT/RAdoptAllocator.hxx