Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::cb_details::assign_n< Value, Alloc > Struct Template Reference

Helper functor for assigning n items. More...

#include <details.hpp>

Public Types

typedef
boost::container::allocator_traits
< 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
 

Detailed Description

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

Helper functor for assigning n items.

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

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

Member Data Documentation

template<class Value, class Alloc>
Alloc& boost::cb_details::assign_n< Value, Alloc >::m_alloc
template<class Value, class Alloc>
Value boost::cb_details::assign_n< Value, Alloc >::m_item
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: