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 version of Boost is under active development. You are currently in the develop branch. The current version is 1.90.0.
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_ID_TPL(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