diff options
Diffstat (limited to 'doc/html/lambda/le_in_details.html')
-rw-r--r-- | doc/html/lambda/le_in_details.html | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/html/lambda/le_in_details.html b/doc/html/lambda/le_in_details.html index 91ed95d1d5..67f263c49a 100644 --- a/doc/html/lambda/le_in_details.html +++ b/doc/html/lambda/le_in_details.html @@ -6,7 +6,7 @@ <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../lambda.html" title="Chapter 20. Boost.Lambda"> +<link rel="up" href="../lambda.html" title="Chapter 19. Boost.Lambda"> <link rel="prev" href="using_library.html" title="Using the library"> <link rel="next" href="extending.html" title="Extending return type deduction system"> </head> @@ -35,8 +35,8 @@ <dt><span class="section"><a href="le_in_details.html#lambda.lambda_expressions_for_control_structures">Lambda expressions for control structures</a></span></dt> <dt><span class="section"><a href="le_in_details.html#lambda.exceptions">Exceptions</a></span></dt> <dt><span class="section"><a href="le_in_details.html#lambda.construction_and_destruction">Construction and destruction</a></span></dt> -<dt><span class="section"><a href="le_in_details.html#idp362920816">Special lambda expressions</a></span></dt> -<dt><span class="section"><a href="le_in_details.html#idp362972288">Casts, sizeof and typeid</a></span></dt> +<dt><span class="section"><a href="le_in_details.html#idp338761200">Special lambda expressions</a></span></dt> +<dt><span class="section"><a href="le_in_details.html#idp338812672">Casts, sizeof and typeid</a></span></dt> <dt><span class="section"><a href="le_in_details.html#lambda.nested_stl_algorithms">Nesting STL algorithm invocations</a></span></dt> </dl></div> <p> @@ -124,7 +124,7 @@ int i = 1; <div class="titlepage"><div><div><h3 class="title"> <a name="lambda.operator_expressions"></a>Operator expressions</h3></div></div></div> <div class="toc"><dl class="toc"> -<dt><span class="section"><a href="le_in_details.html#idp362637472">Operators that cannot be overloaded</a></span></dt> +<dt><span class="section"><a href="le_in_details.html#idp338477984">Operators that cannot be overloaded</a></span></dt> <dt><span class="section"><a href="le_in_details.html#lambda.assignment_and_subscript">Assignment and subscript operators</a></span></dt> <dt><span class="section"><a href="le_in_details.html#lambda.logical_operators">Logical operators</a></span></dt> <dt><span class="section"><a href="le_in_details.html#lambda.comma_operator">Comma operator</a></span></dt> @@ -145,7 +145,7 @@ However, there are some restrictions that originate from the C++ operator overlo </p> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> -<a name="idp362637472"></a>Operators that cannot be overloaded</h4></div></div></div> +<a name="idp338477984"></a>Operators that cannot be overloaded</h4></div></div></div> <p> Some operators cannot be overloaded at all (<code class="literal">::</code>, <code class="literal">.</code>, <code class="literal">.*</code>). For some operators, the requirements on return types prevent them to be overloaded to create lambda functors. @@ -495,7 +495,7 @@ function object class. </p> <div class="simplesect"> <div class="titlepage"><div><div><h5 class="title"> -<a name="idp362716160"></a>The result_type typedef</h5></div></div></div> +<a name="idp338556736"></a>The result_type typedef</h5></div></div></div> <p> The BLL supports the standard library convention of declaring the return type @@ -522,7 +522,7 @@ and <code class="literal">sig</code>, <code class="literal">result_type</code> t </div> <div class="simplesect"> <div class="titlepage"><div><div><h5 class="title"> -<a name="idp362722672"></a>The sig template</h5></div></div></div> +<a name="idp338563248"></a>The sig template</h5></div></div></div> <p> Another mechanism that make BLL aware of the return type(s) of a function object is defining member template struct @@ -779,7 +779,7 @@ When the lambda functor is invoked, a reference to <code class="literal">x</code </p> <div class="simplesect"> <div class="titlepage"><div><div><h4 class="title"> -<a name="idp362793680"></a>Naming delayed constants and variables</h4></div></div></div> +<a name="idp338634064"></a>Naming delayed constants and variables</h4></div></div></div> <p> It is possible to predefine and name a delayed variable or constant outside a lambda expression. The templates <code class="literal">var_type</code>, <code class="literal">constant_type</code> @@ -822,7 +822,7 @@ for_each(a.begin(),a.end(), cout << space << _1); </div> <div class="simplesect"> <div class="titlepage"><div><div><h4 class="title"> -<a name="idp362804672"></a>About assignment and subscript operators</h4></div></div></div> +<a name="idp338645056"></a>About assignment and subscript operators</h4></div></div></div> <p> As described in <a class="xref" href="le_in_details.html#lambda.assignment_and_subscript" title="Assignment and subscript operators">the section called “Assignment and subscript operators”</a>, assignment and subscripting operators are always defined as member functions. This means, that for expressions of the form @@ -1048,7 +1048,7 @@ or to </p> <p> -The <a class="xref" href="le_in_details.html#ex:exceptions" title="Example 20.1. Throwing and handling exceptions in lambda expressions.">Example 20.1, “Throwing and handling exceptions in lambda expressions.”</a> demonstrates the use of the BLL +The <a class="xref" href="le_in_details.html#ex:exceptions" title="Example 19.1. Throwing and handling exceptions in lambda expressions.">Example 19.1, “Throwing and handling exceptions in lambda expressions.”</a> demonstrates the use of the BLL exception handling tools. The first handler catches exceptions of type <code class="literal">foo_exception</code>. Note the use of <code class="literal">_1</code> placeholder in the body of the handler. @@ -1084,7 +1084,7 @@ Finally, the third handler (<code class="literal">catch_all</code>) demonstrates rethrowing exceptions. </p> <div class="example"> -<a name="ex:exceptions"></a><p class="title"><b>Example 20.1. Throwing and handling exceptions in lambda expressions.</b></p> +<a name="ex:exceptions"></a><p class="title"><b>Example 19.1. Throwing and handling exceptions in lambda expressions.</b></p> <div class="example-contents"><pre class="programlisting"> for_each( a.begin(), a.end(), @@ -1169,14 +1169,14 @@ transform(x.begin(), x.end(), y.begin(), back_inserter(v), </pre> <p> -<a class="xref" href="le_in_details.html#table:constructor_destructor_fos" title="Table 20.1. Construction and destruction related function objects.">Table 20.1, “Construction and destruction related function objects.”</a> lists all the function +<a class="xref" href="le_in_details.html#table:constructor_destructor_fos" title="Table 19.1. Construction and destruction related function objects.">Table 19.1, “Construction and destruction related function objects.”</a> lists all the function objects related to creating and destroying objects, showing the expression to create and call the function object, and the effect of evaluating that expression. </p> <div class="table"> -<a name="table:constructor_destructor_fos"></a><p class="title"><b>Table 20.1. Construction and destruction related function objects.</b></p> +<a name="table:constructor_destructor_fos"></a><p class="title"><b>Table 19.1. Construction and destruction related function objects.</b></p> <div class="table-contents"><table class="table" summary="Construction and destruction related function objects."> <colgroup> <col> @@ -1226,17 +1226,17 @@ and the effect of evaluating that expression. </div> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> -<a name="idp362920816"></a>Special lambda expressions</h3></div></div></div> +<a name="idp338761200"></a>Special lambda expressions</h3></div></div></div> <div class="toc"><dl class="toc"> -<dt><span class="section"><a href="le_in_details.html#idp362921504">Preventing argument substitution</a></span></dt> +<dt><span class="section"><a href="le_in_details.html#idp338761888">Preventing argument substitution</a></span></dt> <dt><span class="section"><a href="le_in_details.html#lambda.rvalues_as_actual_arguments">Rvalues as actual arguments to lambda functors</a></span></dt> </dl></div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> -<a name="idp362921504"></a>Preventing argument substitution</h4></div></div></div> +<a name="idp338761888"></a>Preventing argument substitution</h4></div></div></div> <div class="toc"><dl class="toc"> <dt><span class="section"><a href="le_in_details.html#lambda.unlambda">Unlambda</a></span></dt> -<dt><span class="section"><a href="le_in_details.html#idp362944448">Protect</a></span></dt> +<dt><span class="section"><a href="le_in_details.html#idp338784832">Protect</a></span></dt> </dl></div> <p> When a lambda functor is called, the default behavior is to substitute @@ -1390,7 +1390,7 @@ int nested(const F& f) { </div> <div class="section"> <div class="titlepage"><div><div><h5 class="title"> -<a name="idp362944448"></a>Protect</h5></div></div></div> +<a name="idp338784832"></a>Protect</h5></div></div></div> <p> The <code class="literal">protect</code> function is related to unlambda. @@ -1533,12 +1533,12 @@ and are not affected by the non-const rvalue problem. </div> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> -<a name="idp362972288"></a>Casts, sizeof and typeid</h3></div></div></div> +<a name="idp338812672"></a>Casts, sizeof and typeid</h3></div></div></div> <div class="toc"><dl class="toc"> <dt><span class="section"><a href="le_in_details.html#lambda.cast_expressions"> Cast expressions </a></span></dt> -<dt><span class="section"><a href="le_in_details.html#idp362981776">Sizeof and typeid</a></span></dt> +<dt><span class="section"><a href="le_in_details.html#idp338822096">Sizeof and typeid</a></span></dt> </dl></div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> @@ -1578,7 +1578,7 @@ for_each(a.begin(), a.end(), </div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> -<a name="idp362981776"></a>Sizeof and typeid</h4></div></div></div> +<a name="idp338822096"></a>Sizeof and typeid</h4></div></div></div> <p> The BLL counterparts for these expressions are named <code class="literal">ll_sizeof</code> and <code class="literal">ll_typeid</code>. |