| Home | Libraries | People | FAQ | More

## Reference

### Header <boost/local_function.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_ID_TPL(id, declarations)
    BOOST_LOCAL_FUNCTION_NAME(qualified_name)
    BOOST_LOCAL_FUNCTION_NAME_TPL(name)
    BOOST_LOCAL_FUNCTION_TYPEOF(bound_variable_name)

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

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