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

Macros

#define BOOST_FUNCTIONAL_f_type(z, n, unused)   BOOST_PP_CAT(F, n)
 
#define BOOST_FUNCTIONAL_f_arg(z, n, unused)   BOOST_PP_CAT(f, n)
 
#define BOOST_FUNCTIONAL_f_tparam(z, n, unused)   typename BOOST_FUNCTIONAL_f_type(z, n, ~) \
 
#define BOOST_FUNCTIONAL_f_tparam_dflt(z, n, is_tspec)
 
#define BOOST_FUNCTIONAL_f_arg_decl(z, n, unused)
 
#define BOOST_FUNCTIONAL_g_type(z, n, unused)   BOOST_PP_CAT(G, n)
 
#define BOOST_FUNCTIONAL_g_arg(z, n, unused)   BOOST_PP_CAT(g, n)
 
#define BOOST_FUNCTIONAL_g_tparam(z, n, unused)   typename BOOST_FUNCTIONAL_g_type(z, n, ~)
 
#define BOOST_FUNCTIONAL_g_arg_decl(z, n, unused)
 
#define BOOST_FUNCTIONAL_base(z, n, unused)
 
#define BOOST_FUNCTIONAL_inherit(z, n, unused)   public BOOST_FUNCTIONAL_base(z, n, ~)
 
#define BOOST_FUNCTIONAL_base_init(z, n, unused)   BOOST_FUNCTIONAL_base(z, n, ~)(BOOST_FUNCTIONAL_g_arg(z, n, ~))
 
#define BOOST_FUNCTIONAL_using_operator_call(z, n, unused)   using BOOST_FUNCTIONAL_base(z, n, ~)::operator();
 
#define BOOST_FUNCTIONAL_function_type(z, n, unused)
 
#define BOOST_PP_ITERATION_PARAMS_1
 

Macro Definition Documentation

#define BOOST_FUNCTIONAL_base (   z,
  n,
  unused 
)
Value:
::boost::overloaded_function_detail::base< \
>
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_FUNCTIONAL_f_type(z, n, unused)
Definition: overloaded_function.hpp:33
#define BOOST_FUNCTIONAL_base_init (   z,
  n,
  unused 
)    BOOST_FUNCTIONAL_base(z, n, ~)(BOOST_FUNCTIONAL_g_arg(z, n, ~))
#define BOOST_FUNCTIONAL_f_arg (   z,
  n,
  unused 
)    BOOST_PP_CAT(f, n)
#define BOOST_FUNCTIONAL_f_arg_decl (   z,
  n,
  unused 
)
Value:
BOOST_FUNCTIONAL_f_type(z, n, ~) /* no qualifier to deduce tparam */ \
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_FUNCTIONAL_f_arg(z, n, unused)
Definition: overloaded_function.hpp:36
#define BOOST_FUNCTIONAL_f_type(z, n, unused)
Definition: overloaded_function.hpp:33
#define BOOST_FUNCTIONAL_f_tparam (   z,
  n,
  unused 
)    typename BOOST_FUNCTIONAL_f_type(z, n, ~) \
#define BOOST_FUNCTIONAL_f_tparam_dflt (   z,
  n,
  is_tspec 
)
Value:
/* overload requires at least 2 functors so F0 and F1 not optional */ \
= void \
)
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_FUNCTIONAL_f_tparam(z, n, unused)
Definition: overloaded_function.hpp:39
#define BOOST_PP_AND(p, q)
Definition: and.hpp:26
#define BOOST_PP_GREATER(x, y)
Definition: greater.hpp:25
#define BOOST_PP_NOT(x)
Definition: not.hpp:26
#define BOOST_PP_EXPR_IIF(bit, expr)
Definition: expr_iif.hpp:22
#define BOOST_FUNCTIONAL_f_type (   z,
  n,
  unused 
)    BOOST_PP_CAT(F, n)
#define BOOST_FUNCTIONAL_function_type (   z,
  n,
  unused 
)
Value:
typename ::boost::overloaded_function_detail::function_type< \
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_FUNCTIONAL_f_type(z, n, unused)
Definition: overloaded_function.hpp:33
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_FUNCTIONAL_g_arg (   z,
  n,
  unused 
)    BOOST_PP_CAT(g, n)
#define BOOST_FUNCTIONAL_g_arg_decl (   z,
  n,
  unused 
)
Value:
BOOST_FUNCTIONAL_g_type(z, n, ~) /* no qualifier to deduce tparam */ \
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_FUNCTIONAL_g_type(z, n, unused)
Definition: overloaded_function.hpp:54
#define BOOST_FUNCTIONAL_g_arg(z, n, unused)
Definition: overloaded_function.hpp:57
#define BOOST_FUNCTIONAL_g_tparam (   z,
  n,
  unused 
)    typename BOOST_FUNCTIONAL_g_type(z, n, ~)
#define BOOST_FUNCTIONAL_g_type (   z,
  n,
  unused 
)    BOOST_PP_CAT(G, n)
#define BOOST_FUNCTIONAL_inherit (   z,
  n,
  unused 
)    public BOOST_FUNCTIONAL_base(z, n, ~)
#define BOOST_FUNCTIONAL_using_operator_call (   z,
  n,
  unused 
)    using BOOST_FUNCTIONAL_base(z, n, ~)::operator();
#define BOOST_PP_ITERATION_PARAMS_1
Value:
/* at least 2 func to overload so start from 2 to MAX */ \
/* (cannot iterate [0, MAX-2) because error on Sun) */ \
"boost/functional/overloaded_function.hpp"))
#define BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_CONFIG_OVERLOAD_MAX
Specify the maximum number of functions that can be overloaded.
Definition: config.hpp:43