TwiceAsNice  2019-02-18
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
boost::cb_details::assign_n< Value, Alloc > Struct Template Reference

Helper functor for assigning n items. More...

#include <details.hpp>

Collaboration diagram for boost::cb_details::assign_n< Value, Alloc >:
Collaboration graph

Public Types

typedef Alloc::size_type size_type
 

Public Member Functions

 assign_n (size_type n, Value item, Alloc &alloc)
 
template<class Pointer >
void operator() (Pointer p) const
 

Public Attributes

size_type m_n
 
Value m_item
 
Alloc & m_alloc
 

Private Member Functions

assign_n< Value, Alloc > & operator= (const assign_n< Value, Alloc > &)
 

Detailed Description

template<class Value, class Alloc>
struct boost::cb_details::assign_n< Value, Alloc >

Helper functor for assigning n items.

Member Typedef Documentation

◆ size_type

template<class Value , class Alloc >
typedef Alloc::size_type boost::cb_details::assign_n< Value, Alloc >::size_type

Constructor & Destructor Documentation

◆ assign_n()

template<class Value , class Alloc >
boost::cb_details::assign_n< Value, Alloc >::assign_n ( size_type  n,
Value  item,
Alloc &  alloc 
)
inline

Member Function Documentation

◆ operator()()

template<class Value , class Alloc >
template<class Pointer >
void boost::cb_details::assign_n< Value, Alloc >::operator() ( Pointer  p) const
inline

◆ operator=()

template<class Value , class Alloc >
assign_n<Value, Alloc>& boost::cb_details::assign_n< Value, Alloc >::operator= ( const assign_n< Value, Alloc > &  )
private

Member Data Documentation

◆ m_alloc

template<class Value , class Alloc >
Alloc& boost::cb_details::assign_n< Value, Alloc >::m_alloc

◆ m_item

template<class Value , class Alloc >
Value boost::cb_details::assign_n< Value, Alloc >::m_item

◆ m_n

template<class Value , class Alloc >
size_type boost::cb_details::assign_n< Value, Alloc >::m_n

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