Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ptr_list_of.hpp File Reference
Include dependency graph for ptr_list_of.hpp:

Classes

class  boost::assign_detail::generic_ptr_list< T >
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::assign_detail
 
 boost::assign
 

Macros

#define BOOST_ASSIGN_MAX_PARAMS   5
 
#define BOOST_ASSIGN_MAX_PARAMETERS   (BOOST_ASSIGN_MAX_PARAMS - 1)
 
#define BOOST_ASSIGN_PARAMS1(n)   BOOST_PP_ENUM_PARAMS(n, class U)
 
#define BOOST_ASSIGN_PARAMS2(n)   BOOST_PP_ENUM_BINARY_PARAMS(n, U, const& u)
 
#define BOOST_ASSIGN_PARAMS3(n)   BOOST_PP_ENUM_PARAMS(n, u)
 
#define BOOST_PP_LOCAL_LIMITS   (1, BOOST_ASSIGN_MAX_PARAMETERS)
 
#define BOOST_PP_LOCAL_MACRO(n)
 
#define BOOST_PP_LOCAL_LIMITS   (1, BOOST_ASSIGN_MAX_PARAMETERS)
 
#define BOOST_PP_LOCAL_MACRO(n)
 

Functions

template<class T >
assign_detail::generic_ptr_list
< T
boost::assign::ptr_list_of ()
 
template<class T , class U >
assign_detail::generic_ptr_list
< T
boost::assign::ptr_list_of (const U &t)
 

Macro Definition Documentation

#define BOOST_ASSIGN_MAX_PARAMETERS   (BOOST_ASSIGN_MAX_PARAMS - 1)
#define BOOST_ASSIGN_MAX_PARAMS   5
#define BOOST_ASSIGN_PARAMS1 (   n)    BOOST_PP_ENUM_PARAMS(n, class U)
#define BOOST_ASSIGN_PARAMS2 (   n)    BOOST_PP_ENUM_BINARY_PARAMS(n, U, const& u)
#define BOOST_ASSIGN_PARAMS3 (   n)    BOOST_PP_ENUM_PARAMS(n, u)
#define BOOST_PP_LOCAL_LIMITS   (1, BOOST_ASSIGN_MAX_PARAMETERS)
#define BOOST_PP_LOCAL_LIMITS   (1, BOOST_ASSIGN_MAX_PARAMETERS)
#define BOOST_PP_LOCAL_MACRO (   n)
Value:
template< class U, BOOST_ASSIGN_PARAMS1(n) > \
generic_ptr_list& operator()(U const& u, BOOST_ASSIGN_PARAMS2(n) ) \
{ \
this->push_back( new T(u, BOOST_ASSIGN_PARAMS3(n))); \
return *this; \
} \
T
Definition: mem_fn_cc.hpp:25
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_ASSIGN_PARAMS3(n)
Definition: ptr_list_of.hpp:134
result_type operator()()
Definition: bind_template.hpp:17
#define BOOST_ASSIGN_PARAMS2(n)
Definition: ptr_list_of.hpp:133
return * this
Definition: gmp.hpp:1779
#define BOOST_PP_LOCAL_MACRO (   n)
Value:
template< class T, class U, BOOST_ASSIGN_PARAMS1(n) > \
{ \
return assign_detail::generic_ptr_list<T>()(u, BOOST_ASSIGN_PARAMS3(n)); \
} \
#define n
Definition: register_functions_iterate.hpp:7
assign_detail::generic_ptr_list< T > ptr_list_of(const U &t)
Definition: ptr_list_of.hpp:163
#define BOOST_ASSIGN_PARAMS3(n)
Definition: ptr_list_of.hpp:134
#define BOOST_ASSIGN_PARAMS2(n)
Definition: ptr_list_of.hpp:133