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

Click here to view the latest version of this page.
PrevUpHomeNext

Reference

Header <boost/local_function.hpp>
Header <boost/local_function/config.hpp>

Local functions allow to program functions locally, within other functions, and directly within the scope where they are needed.


BOOST_LOCAL_FUNCTION(declarations)
BOOST_LOCAL_FUNCTION_TPL(declarations)
BOOST_LOCAL_FUNCTION_ID(id, declarations)
BOOST_LOCAL_FUNCTION_TPL_ID(id, declarations)
BOOST_LOCAL_FUNCTION_NAME(qualified_name)
BOOST_LOCAL_FUNCTION_NAME_TPL(name)
BOOST_LOCAL_FUNCTION_TYPEOF(bound_variable_name)

Configuration macros allow to change the behaviour of this library at compile-time.


BOOST_LOCAL_FUNCTION_CONFIG_ARITY_MAX
BOOST_LOCAL_FUNCTION_CONFIG_BIND_MAX
BOOST_LOCAL_FUNCTION_CONFIG_LOCALS_AS_TPARAMS

PrevUpHomeNext