Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
list_inserter.hpp File Reference
#include <boost/detail/workaround.hpp>
#include <boost/mpl/if.hpp>
#include <boost/type_traits/is_same.hpp>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
#include <boost/config.hpp>
#include <cstddef>
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
#include <boost/preprocessor/repetition/enum_params.hpp>
#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/iteration/local.hpp>
#include <boost/preprocessor/arithmetic/inc.hpp>
#include <BOOST_PP_LOCAL_ITERATE()>
Include dependency graph for list_inserter.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::assign_detail::repeater< T >
 
struct  boost::assign_detail::fun_repeater< Fun >
 
class  boost::assign_detail::call_push_back< C >
 
class  boost::assign_detail::call_push_front< C >
 
class  boost::assign_detail::call_push< C >
 
class  boost::assign_detail::call_insert< C >
 
class  boost::assign_detail::call_add_edge< C >
 
struct  boost::assign_detail::forward_n_arguments
 
class  boost::assign::list_inserter< Function, Argument >
 

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 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)
 
#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::repeater< Tboost::assign::repeat (std::size_t sz, T r)
 
template<class Function >
assign_detail::fun_repeater
< Function > 
boost::assign::repeat_fun (std::size_t sz, Function r)
 
template<class Function >
list_inserter< Function > boost::assign::make_list_inserter (Function fun)
 
template<class Function , class Argument >
list_inserter< Function, Argument > boost::assign::make_list_inserter (Function fun, Argument *)
 
template<class C >
list_inserter
< assign_detail::call_push_back
< C >, BOOST_DEDUCED_TYPENAME
C::value_type > 
boost::assign::push_back (C &c)
 
template<class C >
list_inserter
< assign_detail::call_push_front
< C >, BOOST_DEDUCED_TYPENAME
C::value_type > 
boost::assign::push_front (C &c)
 
template<class C >
list_inserter
< assign_detail::call_insert
< C >, BOOST_DEDUCED_TYPENAME
C::value_type > 
boost::assign::insert (C &c)
 
template<class C >
list_inserter
< assign_detail::call_push< C >
, BOOST_DEDUCED_TYPENAME
C::value_type > 
boost::assign::push (C &c)
 
template<class C >
list_inserter
< assign_detail::call_add_edge
< C > > 
boost::assign::add_edge (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_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 T, BOOST_ASSIGN_PARAMS1(n) > \
list_inserter& operator()(T t, BOOST_ASSIGN_PARAMS2(n) ) \
{ \
return *this; \
} \
T
Definition: mem_fn_cc.hpp:25
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_ASSIGN_PARAMS3(n)
Definition: list_inserter.hpp:282
in t
Definition: flyweight.hpp:430
#define BOOST_PP_CAT(a, b)
Definition: cat.hpp:24
#define BOOST_PP_INC(x)
Definition: inc.hpp:24
result_type operator()()
Definition: bind_template.hpp:17
#define BOOST_ASSIGN_PARAMS2(n)
Definition: list_inserter.hpp:281
list_inserter< assign_detail::call_insert< C >, BOOST_DEDUCED_TYPENAME C::value_type > insert(C &c)
Definition: list_inserter.hpp:368
#define BOOST_PP_LOCAL_MACRO (   n)
Value:
template< class T, BOOST_ASSIGN_PARAMS1(n) > \
void BOOST_PP_CAT(insert, BOOST_PP_INC(n))(T const& t, BOOST_ASSIGN_PARAMS2(n), single_arg_type) \
{ \
insert_( Argument(t, BOOST_ASSIGN_PARAMS3(n) )); \
} \
void
Definition: is_convertible.hpp:460
T
Definition: mem_fn_cc.hpp:25
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_ASSIGN_PARAMS3(n)
Definition: list_inserter.hpp:282
in t
Definition: flyweight.hpp:430
#define BOOST_PP_CAT(a, b)
Definition: cat.hpp:24
#define BOOST_PP_INC(x)
Definition: inc.hpp:24
#define BOOST_ASSIGN_PARAMS2(n)
Definition: list_inserter.hpp:281
Insert_Helper const insert_
Definition: container.hpp:1202
list_inserter< assign_detail::call_insert< C >, BOOST_DEDUCED_TYPENAME C::value_type > insert(C &c)
Definition: list_inserter.hpp:368
#define BOOST_PP_LOCAL_MACRO (   n)
Value:
template< class T, BOOST_ASSIGN_PARAMS1(n) > \
{ \
} \
void
Definition: is_convertible.hpp:460
T
Definition: mem_fn_cc.hpp:25
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_ASSIGN_PARAMS3(n)
Definition: list_inserter.hpp:282
in t
Definition: flyweight.hpp:430
#define BOOST_PP_CAT(a, b)
Definition: cat.hpp:24
#define BOOST_PP_INC(x)
Definition: inc.hpp:24
#define BOOST_ASSIGN_PARAMS2(n)
Definition: list_inserter.hpp:281
Insert_Helper const insert_
Definition: container.hpp:1202
list_inserter< assign_detail::call_insert< C >, BOOST_DEDUCED_TYPENAME C::value_type > insert(C &c)
Definition: list_inserter.hpp:368