Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ptr_list_inserter.hpp File Reference
#include <boost/assign/list_inserter.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include <boost/type_traits/remove_pointer.hpp>
#include <BOOST_PP_LOCAL_ITERATE()>
Include dependency graph for ptr_list_inserter.hpp:

Classes

class  boost::assign::ptr_list_inserter< Function, Obj >
 

Namespaces

 boost
 Duration formatting facet for input.
 
 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 T)
 
#define BOOST_ASSIGN_PARAMS2(n)   BOOST_PP_ENUM_BINARY_PARAMS(n, T, const& t)
 
#define BOOST_ASSIGN_PARAMS3(n)   BOOST_PP_ENUM_PARAMS(n, t)
 
#define BOOST_PP_LOCAL_LIMITS   (1, BOOST_ASSIGN_MAX_PARAMETERS)
 
#define BOOST_PP_LOCAL_MACRO(n)
 

Functions

template<class Obj , class Function >
ptr_list_inserter< Function, Obj > boost::assign::make_ptr_list_inserter (Function fun)
 
template<class C >
ptr_list_inserter
< assign_detail::call_push_back
< C >, BOOST_DEDUCED_TYPENAME
C::reference > 
boost::assign::ptr_push_back (C &c)
 
template<class T , class C >
ptr_list_inserter
< assign_detail::call_push_back
< C >, T
boost::assign::ptr_push_back (C &c)
 
template<class C >
ptr_list_inserter
< assign_detail::call_push_front
< C >, BOOST_DEDUCED_TYPENAME
C::reference > 
boost::assign::ptr_push_front (C &c)
 
template<class T , class C >
ptr_list_inserter
< assign_detail::call_push_front
< C >, T
boost::assign::ptr_push_front (C &c)
 
template<class C >
ptr_list_inserter
< assign_detail::call_insert
< C >, BOOST_DEDUCED_TYPENAME
C::reference > 
boost::assign::ptr_insert (C &c)
 
template<class T , class C >
ptr_list_inserter
< assign_detail::call_insert
< C >, T
boost::assign::ptr_insert (C &c)
 

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 T)
#define BOOST_ASSIGN_PARAMS2 (   n)    BOOST_PP_ENUM_BINARY_PARAMS(n, T, const& t)
#define BOOST_ASSIGN_PARAMS3 (   n)    BOOST_PP_ENUM_PARAMS(n, t)
#define BOOST_PP_LOCAL_LIMITS   (1, BOOST_ASSIGN_MAX_PARAMETERS)
#define BOOST_PP_LOCAL_MACRO (   n)
Value:
template< class T, BOOST_ASSIGN_PARAMS1(n) > \
ptr_list_inserter& operator()( const T& t, BOOST_ASSIGN_PARAMS2(n) ) \
{ \
insert_( new obj_type(t, BOOST_ASSIGN_PARAMS3(n) )); \
return *this; \
} \
#define BOOST_ASSIGN_PARAMS3(n)
Definition: ptr_list_inserter.hpp:66
T
Definition: mem_fn_cc.hpp:25
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_ASSIGN_PARAMS2(n)
Definition: ptr_list_inserter.hpp:65
in t
Definition: flyweight.hpp:430
result_type operator()()
Definition: bind_template.hpp:17
Insert_Helper const insert_
Definition: container.hpp:1202