|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74698 - in sandbox/local/libs/local/doc: html html/boost_local qbk
From: lorcaminiti_at_[hidden]
Date: 2011-10-04 11:10:57
Author: lcaminiti
Date: 2011-10-04 11:10:56 EDT (Tue, 04 Oct 2011)
New Revision: 74698
URL: http://svn.boost.org/trac/boost/changeset/74698
Log:
Upd docs.
Text files modified:
sandbox/local/libs/local/doc/html/boost_local/Alternatives.html | 6 +++---
sandbox/local/libs/local/doc/html/index.html | 2 +-
sandbox/local/libs/local/doc/qbk/alternatives.qbk | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
Modified: sandbox/local/libs/local/doc/html/boost_local/Alternatives.html
==============================================================================
--- sandbox/local/libs/local/doc/html/boost_local/Alternatives.html (original)
+++ sandbox/local/libs/local/doc/html/boost_local/Alternatives.html 2011-10-04 11:10:56 EDT (Tue, 04 Oct 2011)
@@ -372,9 +372,9 @@
</li>
<li class="listitem">
<a href="http://en.wikipedia.org/wiki/C%2B%2B0x#Lambda_functions_and_expressions" target="_top">C++11
- lambda</a> do not allow to bind variables in scope by constant reference
- or by non-constant value. Because a variable cannot be bound by constant
- reference, <a href="http://en.wikipedia.org/wiki/C%2B%2B0x#Lambda_functions_and_expressions" target="_top">C++11
+ lambda</a> functions do not allow to bind variables in scope by constant
+ reference or by non-constant value. Because a variable cannot be bound
+ by constant reference, <a href="http://en.wikipedia.org/wiki/C%2B%2B0x#Lambda_functions_and_expressions" target="_top">C++11
lambda</a> functions can bind a variable by constant only if the
variable is copyable and the binding requires a (potentially expensive)
extra copy operation. Both constant reference and non-constant value
Modified: sandbox/local/libs/local/doc/html/index.html
==============================================================================
--- sandbox/local/libs/local/doc/html/index.html (original)
+++ sandbox/local/libs/local/doc/html/index.html 2011-10-04 11:10:56 EDT (Tue, 04 Oct 2011)
@@ -432,7 +432,7 @@
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: October 04, 2011 at 15:04:05 GMT</small></p></td>
+<td align="left"><p><small>Last revised: October 04, 2011 at 15:10:16 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
Modified: sandbox/local/libs/local/doc/qbk/alternatives.qbk
==============================================================================
--- sandbox/local/libs/local/doc/qbk/alternatives.qbk (original)
+++ sandbox/local/libs/local/doc/qbk/alternatives.qbk 2011-10-04 11:10:56 EDT (Tue, 04 Oct 2011)
@@ -96,7 +96,7 @@
* __CPP0x_lambda__ functions can be defined within expressions while __Boost_Local__ local functions can only be defined within declarations.
* __CPP0x_lambda__ functions are only supported by the __CPP11__ standard so they are not supported by all C++ compilers.
__Boost_Local__ local functions use only __CPP03__ compliant features so they are supported on all C++ compliant compilers.
-* __CPP0x_lambda__ do not allow to bind variables in scope by constant reference or by non-constant value.
+* __CPP0x_lambda__ functions do not allow to bind variables in scope by constant reference or by non-constant value.
Because a variable cannot be bound by constant reference, __CPP0x_lambda__ functions can bind a variable by constant only if the variable is copyable and the binding requires a (potentially expensive) extra copy operation.
Both constant reference and non-constant value binding are instead supported by __Boost_Local__.
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk