Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Reference

Header <boost/functional/overloaded_function.hpp>
Header <boost/functional/overloaded_function/config.hpp>

Overload distinct function pointers, function references, and monomorphic function objects into a single function object.

namespace boost {
  template<typename F1, typename F2, ... > class overloaded_function;
  template<typename F1, typename F2, ... > 
    overloaded_function< __function_type__< F1 >, __function_type__< F2 >,...> 
    make_overloaded_function(F1, F2, ...);
}

Change the compile-time configuration of this library.


BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_CONFIG_ARITY_MAX
BOOST_FUNCTIONAL_OVERLOADED_FUNCTION_CONFIG_OVERLOAD_MAX

PrevUpHomeNext