1<?xml version="1.0" encoding="utf-8" ?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 4<head> 5<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6<meta name="generator" content="Docutils 0.7: http://docutils.sourceforge.net/" /> 7<title>The MPL Reference Manual: BOOST_MPL_LIMIT_UNROLLING</title> 8<link rel="stylesheet" href="../style.css" type="text/css" /> 9</head> 10<body class="docframe refmanual"> 11<table class="header"><tr class="header"><td class="header-group navigation-bar"><span class="navigation-group"><a href="./limit-string-size.html" class="navigation-link">Prev</a> <a href="./broken-compiler-workarounds.html" class="navigation-link">Next</a></span><span class="navigation-group-separator"> | </span><span class="navigation-group"><a href="./limit-string-size.html" class="navigation-link">Back</a> Along</span><span class="navigation-group-separator"> | </span><span class="navigation-group"><a href="./configuration.html" class="navigation-link">Up</a> <a href="../refmanual.html" class="navigation-link">Home</a></span><span class="navigation-group-separator"> | </span><span class="navigation-group"><a href="./refmanual_toc.html" class="navigation-link">Full TOC</a></span></td> 12<td class="header-group page-location"><a href="../refmanual.html" class="navigation-link">Front Page</a> / <a href="./macros.html" class="navigation-link">Macros</a> / <a href="./configuration.html" class="navigation-link">Configuration</a> / <a href="./limit-unrolling.html" class="navigation-link">BOOST_MPL_LIMIT_UNROLLING</a></td> 13</tr></table><div class="header-separator"></div> 14<div class="section" id="boost-mpl-limit-unrolling"> 15<h1><a class="toc-backref" href="./configuration.html#id1607">BOOST_MPL_LIMIT_UNROLLING</a></h1> 16<div class="section" id="id1380"> 17<h3><a class="subsection-title" href="#synopsis" name="synopsis">Synopsis</a></h3> 18<pre class="literal-block"> 19#if !defined(<a href="./limit-unrolling.html" class="identifier">BOOST_MPL_LIMIT_UNROLLING</a>) 20# define <a href="./limit-unrolling.html" class="identifier">BOOST_MPL_LIMIT_UNROLLING</a> \ 21 <em>implementation-defined integral constant</em> \ 22/**/ 23#endif 24</pre> 25</div> 26<div class="section" id="id1381"> 27<h3><a class="subsection-title" href="#description" name="description">Description</a></h3> 28<p><tt class="literal"><span class="pre"><a href="./limit-unrolling.html" class="identifier">BOOST_MPL_LIMIT_UNROLLING</a></span></tt> is an overridable configuration macro regulating 29the unrolling depth of the library's iteration algorithms. In this implementation 30of the library, <tt class="literal"><span class="pre"><a href="./limit-unrolling.html" class="identifier">BOOST_MPL_LIMIT_UNROLLING</a></span></tt> has a default value of 4. To 31override the default, define <tt class="literal"><span class="pre"><a href="./limit-unrolling.html" class="identifier">BOOST_MPL_LIMIT_UNROLLING</a></span></tt> to the desired 32value before including any library header. 33[<em>Note:</em> Overriding will take effect 34<em>only</em> if the library is configured not to use <a class="reference internal" href="./cfg-no-preprocessed-headers.html#boost-mpl-cfg-no-preprocessed">preprocessed headers</a>. See 35<a class="reference internal" href="./cfg-no-preprocessed-headers.html">BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS</a> for more information. — <em>end note</em>]</p> 36</div> 37<div class="section" id="id1382"> 38<h3><a class="subsection-title" href="#example" name="example">Example</a></h3> 39<p>Except for overall library performace, overriding the 40<tt class="literal"><span class="pre"><a href="./limit-unrolling.html" class="identifier">BOOST_MPL_LIMIT_UNROLLING</a></span></tt>'s default value has no user-observable effects.</p> 41</div> 42<div class="section" id="id1383"> 43<h3><a class="subsection-title" href="#see-also" name="see-also">See also</a></h3> 44<p><a class="reference internal" href="./configuration.html">Configuration</a>, <a class="reference internal" href="./cfg-no-preprocessed-headers.html">BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS</a></p> 45</div> 46</div> 47 48<div class="footer-separator"></div> 49<table class="footer"><tr class="footer"><td class="header-group navigation-bar"><span class="navigation-group"><a href="./limit-string-size.html" class="navigation-link">Prev</a> <a href="./broken-compiler-workarounds.html" class="navigation-link">Next</a></span><span class="navigation-group-separator"> | </span><span class="navigation-group"><a href="./limit-string-size.html" class="navigation-link">Back</a> Along</span><span class="navigation-group-separator"> | </span><span class="navigation-group"><a href="./configuration.html" class="navigation-link">Up</a> <a href="../refmanual.html" class="navigation-link">Home</a></span><span class="navigation-group-separator"> | </span><span class="navigation-group"><a href="./refmanual_toc.html" class="navigation-link">Full TOC</a></span></td> 50<td><div class="copyright-footer"><div class="copyright">Copyright © 2001-2009 Aleksey Gurtovoy and David Abrahams</div> 51Distributed under the Boost Software License, Version 1.0. (See accompanying 52file LICENSE_1_0.txt or copy at <a class="reference external" href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)</div></td></tr></table></body> 53</html> 54