Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
list_of.hpp File Reference
#include <boost/assign/assignment_exception.hpp>
#include <boost/range/iterator_range.hpp>
#include <boost/config.hpp>
#include <boost/tuple/tuple.hpp>
#include <boost/type_traits/remove_const.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include <boost/type_traits/is_reference.hpp>
#include <boost/static_assert.hpp>
#include <boost/type_traits/detail/yes_no_type.hpp>
#include <boost/type_traits/decay.hpp>
#include <boost/type_traits/is_array.hpp>
#include <boost/mpl/if.hpp>
#include <deque>
#include <cstddef>
#include <utility>
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
#include <boost/preprocessor/repetition/enum_params.hpp>
#include <boost/preprocessor/iteration/local.hpp>
#include <BOOST_PP_LOCAL_ITERATE()>
Include dependency graph for list_of.hpp:
This graph shows which files directly or indirectly include this file:

Classes

singleton  boost::array< T, N >
 
struct  boost::assign_detail::assign_decay< T >
 
struct  boost::assign_detail::array_type_tag
 
struct  boost::assign_detail::adapter_type_tag
 
struct  boost::assign_detail::pair_type_tag
 
struct  boost::assign_detail::default_type_tag
 
class  boost::assign_detail::converter< DerivedTAssign, Iterator >
 
class  boost::assign_detail::generic_list< T >
 
struct  boost::assign_detail::assign_reference< T >
 
struct  boost::assign_detail::static_generic_list< T, N >
 

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_ASSIGN_PARAMS4(n)   BOOST_PP_ENUM_PARAMS(n, U)
 
#define BOOST_ASSIGN_PARAMS2_NO_REF(n)   BOOST_PP_ENUM_BINARY_PARAMS(n, U, 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)
 
#define BOOST_PP_LOCAL_LIMITS   (1, BOOST_ASSIGN_MAX_PARAMETERS)
 
#define BOOST_PP_LOCAL_MACRO(n)
 

Functions

template<class T , std::size_t sz>
type_traits::yes_type boost::assign_detail::assign_is_array (const array< T, sz > *)
 
type_traits::no_type boost::assign_detail::assign_is_array (...)
 
template<class T , class U >
type_traits::yes_type boost::assign_detail::assign_is_pair (const std::pair< T, U > *)
 
type_traits::no_type boost::assign_detail::assign_is_pair (...)
 
template<class T , class I , class Range >
bool boost::assign_detail::operator== (const converter< T, I > &l, const Range &r)
 
template<class T , class I , class Range >
bool boost::assign_detail::operator== (const Range &l, const converter< T, I > &r)
 
template<class T , class I , class Range >
bool boost::assign_detail::operator!= (const converter< T, I > &l, const Range &r)
 
template<class T , class I , class Range >
bool boost::assign_detail::operator!= (const Range &l, const converter< T, I > &r)
 
template<class T , class I , class Range >
bool boost::assign_detail::operator< (const converter< T, I > &l, const Range &r)
 
template<class T , class I , class Range >
bool boost::assign_detail::operator< (const Range &l, const converter< T, I > &r)
 
template<class T , class I , class Range >
bool boost::assign_detail::operator> (const converter< T, I > &l, const Range &r)
 
template<class T , class I , class Range >
bool boost::assign_detail::operator> (const Range &l, const converter< T, I > &r)
 
template<class T , class I , class Range >
bool boost::assign_detail::operator<= (const converter< T, I > &l, const Range &r)
 
template<class T , class I , class Range >
bool boost::assign_detail::operator<= (const Range &l, const converter< T, I > &r)
 
template<class T , class I , class Range >
bool boost::assign_detail::operator>= (const converter< T, I > &l, const Range &r)
 
template<class T , class I , class Range >
bool boost::assign_detail::operator>= (const Range &l, const converter< T, I > &r)
 
template<class T , class I , class Elem , class Traits >
std::basic_ostream< Elem,
Traits > & 
boost::assign_detail::operator<< (std::basic_ostream< Elem, Traits > &Os, const converter< T, I > &r)
 
template<class T >
bool boost::assign_detail::operator< (const assign_reference< T > &l, const assign_reference< T > &r)
 
template<class T >
bool boost::assign_detail::operator> (const assign_reference< T > &l, const assign_reference< T > &r)
 
template<class T >
void boost::assign_detail::swap (assign_reference< T > &l, assign_reference< T > &r)
 
template<class T >
assign_detail::generic_list< Tboost::assign::list_of ()
 
template<class T >
assign_detail::generic_list< Tboost::assign::list_of (const T &t)
 
template<int N, class T >
assign_detail::static_generic_list
< BOOST_DEDUCED_TYPENAME
assign_detail::assign_decay< T >
::type, N
boost::assign::ref_list_of (T &t)
 
template<int N, class T >
assign_detail::static_generic_list
< const BOOST_DEDUCED_TYPENAME
assign_detail::assign_decay< T >
::type, N
boost::assign::cref_list_of (const T &t)
 
template<class Key , class T >
assign_detail::generic_list
< std::pair
< BOOST_DEDUCED_TYPENAME
assign_detail::assign_decay
< Key >::type,
BOOST_DEDUCED_TYPENAME
assign_detail::assign_decay< T >
::type > > 
boost::assign::map_list_of (const Key &k, const T &t)
 
template<class F , class S >
assign_detail::generic_list
< std::pair
< BOOST_DEDUCED_TYPENAME
assign_detail::assign_decay< F >
::type, BOOST_DEDUCED_TYPENAME
assign_detail::assign_decay< S >
::type > > 
boost::assign::pair_list_of (const F &f, const S &s)
 

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_PARAMS2_NO_REF (   n)    BOOST_PP_ENUM_BINARY_PARAMS(n, U, u)
#define BOOST_ASSIGN_PARAMS3 (   n)    BOOST_PP_ENUM_PARAMS(n, u)
#define BOOST_ASSIGN_PARAMS4 (   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_LIMITS   (1, BOOST_ASSIGN_MAX_PARAMETERS)
#define BOOST_PP_LOCAL_MACRO (   n)
Value:
template< class U, BOOST_ASSIGN_PARAMS1(n) > \
generic_list& operator()(U const& u, BOOST_ASSIGN_PARAMS2(n) ) \
{ \
this->push_back( Ty(u, BOOST_ASSIGN_PARAMS3(n))); \
return *this; \
} \
#define BOOST_ASSIGN_PARAMS2(n)
Definition: list_of.hpp:382
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_ASSIGN_PARAMS3(n)
Definition: list_of.hpp:383
result_type operator()()
Definition: bind_template.hpp:17
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_list<T>()(u, BOOST_ASSIGN_PARAMS3(n)); \
} \
#define BOOST_ASSIGN_PARAMS2(n)
Definition: list_of.hpp:382
#define n
Definition: register_functions_iterate.hpp:7
assign_detail::generic_list< T > list_of(const T &t)
Definition: list_of.hpp:601
#define BOOST_ASSIGN_PARAMS3(n)
Definition: list_of.hpp:383
#define BOOST_PP_LOCAL_MACRO (   n)
Value:
template< class U, BOOST_ASSIGN_PARAMS1(n) > \
inline assign_detail::generic_list< tuple<U, BOOST_ASSIGN_PARAMS4(n)> > \
tuple_list_of(U u, BOOST_ASSIGN_PARAMS2_NO_REF(n) ) \
{ \
return assign_detail::generic_list< tuple<U, BOOST_ASSIGN_PARAMS4(n)> >()( tuple<U,BOOST_ASSIGN_PARAMS4(n)>( u, BOOST_ASSIGN_PARAMS3(n) )); \
} \
#define BOOST_ASSIGN_PARAMS2_NO_REF(n)
Definition: list_of.hpp:385
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_ASSIGN_PARAMS4(n)
Definition: list_of.hpp:384
#define BOOST_ASSIGN_PARAMS3(n)
Definition: list_of.hpp:383