TwiceAsNice  2019-02-18
Classes | Functions
boost::cb_details Namespace Reference

Classes

struct  assign_n
 Helper functor for assigning n items. More...
 
struct  assign_range
 Helper functor for assigning range of items. More...
 
struct  capacity_control
 Capacity controller of the space optimized circular buffer. More...
 
struct  const_traits
 Defines the data types for a const iterator. More...
 
struct  helper_pointer
 Helper pointer used in the iterator. More...
 
struct  item_wrapper
 Helper item dereference wrapper. More...
 
class  iterator
 Random access iterator for the circular buffer. More...
 
struct  iterator_wrapper
 Helper iterator dereference wrapper. More...
 
struct  nonconst_traits
 Defines the data types for a non-const iterator. More...
 

Functions

template<class ForwardIterator , class Diff , class T , class Alloc >
void uninitialized_fill_n_with_alloc (ForwardIterator first, Diff n, const T &item, Alloc &alloc)
 Equivalent of std::uninitialized_fill_n with allocator. More...
 
template<class InputIterator , class ForwardIterator , class Alloc >
ForwardIterator uninitialized_copy_with_alloc (InputIterator first, InputIterator last, ForwardIterator dest, Alloc &alloc)
 Equivalent of std::uninitialized_copy with allocator. More...
 
template<class Buff , class Traits >
iterator< Buff, Traits > operator+ (typename Traits::difference_type n, const iterator< Buff, Traits > &it)
 Iterator addition. More...
 

Function Documentation

◆ operator+()

template<class Buff , class Traits >
iterator<Buff, Traits> boost::cb_details::operator+ ( typename Traits::difference_type  n,
const iterator< Buff, Traits > &  it 
)
inline

Iterator addition.

◆ uninitialized_copy_with_alloc()

template<class InputIterator , class ForwardIterator , class Alloc >
ForwardIterator boost::cb_details::uninitialized_copy_with_alloc ( InputIterator  first,
InputIterator  last,
ForwardIterator  dest,
Alloc &  alloc 
)
inline

Equivalent of std::uninitialized_copy with allocator.

◆ uninitialized_fill_n_with_alloc()

template<class ForwardIterator , class Diff , class T , class Alloc >
void boost::cb_details::uninitialized_fill_n_with_alloc ( ForwardIterator  first,
Diff  n,
const T &  item,
Alloc &  alloc 
)
inline

Equivalent of std::uninitialized_fill_n with allocator.