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.
Front Page / Macros / Configuration / BOOST_MPL_LIMIT_UNROLLING

BOOST_MPL_LIMIT_UNROLLING

Synopsis

#if !defined(BOOST_MPL_LIMIT_UNROLLING)
#   define BOOST_MPL_LIMIT_UNROLLING \
        implementation-defined integral constant \
/**/
#endif

Description

BOOST_MPL_LIMIT_UNROLLING is an overridable configuration macro regulating the unrolling depth of the library's iteration algorithms. In this implementation of the library, BOOST_MPL_LIMIT_UNROLLING has a default value of 4. To override the default, define BOOST_MPL_LIMIT_UNROLLING to the desired value before including any library header. [Note: Overriding will take effect only if the library is configured not to use preprocessed headers. See BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS for more information. — end note]

Example

Except for overall library performace, overriding the BOOST_MPL_LIMIT_UNROLLING's default value has no user-observable effects.

See also

Configuration, BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS