|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80862 - in sandbox/enable_if/libs/enable_if/doc: . html html/enable_if_macros
From: rivorus_at_[hidden]
Date: 2012-10-05 00:05:37
Author: matt_calabrese
Date: 2012-10-05 00:05:36 EDT (Fri, 05 Oct 2012)
New Revision: 80862
URL: http://svn.boost.org/trac/boost/changeset/80862
Log:
Fixing typos in enable_if macros documentation.
Text files modified:
sandbox/enable_if/libs/enable_if/doc/function_template_macros.qbk | 6 +++---
sandbox/enable_if/libs/enable_if/doc/html/enable_if_macros/function_template_macros.html | 6 +++---
sandbox/enable_if/libs/enable_if/doc/html/index.html | 4 ++--
sandbox/enable_if/libs/enable_if/doc/preface.qbk | 2 +-
4 files changed, 9 insertions(+), 9 deletions(-)
Modified: sandbox/enable_if/libs/enable_if/doc/function_template_macros.qbk
==============================================================================
--- sandbox/enable_if/libs/enable_if/doc/function_template_macros.qbk (original)
+++ sandbox/enable_if/libs/enable_if/doc/function_template_macros.qbk 2012-10-05 00:05:36 EDT (Fri, 05 Oct 2012)
@@ -20,7 +20,7 @@
[heading Usage]
-The `BOOST_ENABLE_IF` family of macros are function-style macros that are
+The `BOOST_ENABLE_IF` family of macros is function-style macros that are
intended to be used inside of a function template argument list as a means to
enable or disable that template based on a compile-time condition. When using
`BOOST_ENABLE_IF`, the condition must be a compliant [mpl_integral_constant] and
@@ -39,7 +39,7 @@
[heading Advanced Example]
-One benefit of these macros over [boost_enable_if] are that they are easy to use
+One benefit of these macros over [boost_enable_if] is that they are easy to use
in places that are normally difficult to exploit, such as variadic constructors
and conversion operators.
@@ -61,7 +61,7 @@
[heading Usage]
-The `BOOST_LAZY_ENABLE_IF` family of macros are functionally similar to the
+The `BOOST_LAZY_ENABLE_IF` family of macros is functionally similar to the
corresponding [BOOST_ENABLE_IF] macros, only they also allow the user to
introduce one or more named types that are evaluate if and only if the template
is enabled. This is important when the function's return type, parameters, or
Modified: sandbox/enable_if/libs/enable_if/doc/html/enable_if_macros/function_template_macros.html
==============================================================================
--- sandbox/enable_if/libs/enable_if/doc/html/enable_if_macros/function_template_macros.html (original)
+++ sandbox/enable_if/libs/enable_if/doc/html/enable_if_macros/function_template_macros.html 2012-10-05 00:05:36 EDT (Fri, 05 Oct 2012)
@@ -44,7 +44,7 @@
</h5>
<p>
The <code class="computeroutput"><span class="identifier">BOOST_ENABLE_IF</span></code> family
- of macros are function-style macros that are intended to be used inside of
+ of macros is function-style macros that are intended to be used inside of
a function template argument list as a means to enable or disable that template
based on a compile-time condition. When using <code class="computeroutput"><span class="identifier">BOOST_ENABLE_IF</span></code>,
the condition must be a compliant <a href="http://www.boost.org/doc/libs/release/libs/mpl/doc/refmanual/integral-constant.html" target="_top"><code class="literal">Boost.MPL</code>
@@ -101,7 +101,7 @@
</h5>
<p>
One benefit of these macros over Boost.Enable_If
- are that they are easy to use in places that are normally difficult to exploit,
+ is that they are easy to use in places that are normally difficult to exploit,
such as variadic constructors and conversion operators.
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">utility</span><span class="special">/</span><span class="identifier">enable_if_macros</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -136,7 +136,7 @@
</h5>
<p>
The <code class="computeroutput"><span class="identifier">BOOST_LAZY_ENABLE_IF</span></code>
- family of macros are functionally similar to the corresponding <a class="link" href="function_template_macros.html#enable_if_macros.function_template_macros.boost_enable_if" title="BOOST_ENABLE_IF"><code class="computeroutput"><span class="identifier">BOOST_ENABLE_IF</span></code></a> macros, only they
+ family of macros is functionally similar to the corresponding <a class="link" href="function_template_macros.html#enable_if_macros.function_template_macros.boost_enable_if" title="BOOST_ENABLE_IF"><code class="computeroutput"><span class="identifier">BOOST_ENABLE_IF</span></code></a> macros, only they
also allow the user to introduce one or more named types that are evaluate
if and only if the template is enabled. This is important when the function's
return type, parameters, or exception specification need to refer to a type
Modified: sandbox/enable_if/libs/enable_if/doc/html/index.html
==============================================================================
--- sandbox/enable_if/libs/enable_if/doc/html/index.html (original)
+++ sandbox/enable_if/libs/enable_if/doc/html/index.html 2012-10-05 00:05:36 EDT (Fri, 05 Oct 2012)
@@ -74,7 +74,7 @@
<p>
The <code class="literal">Enable_If Macros</code> library is a collection of preprocessor
macros aimed toward enabling and disabling function templates and type template
- specialization in C++11 through the use of SFINAE.
+ specializations in C++11 through the use of SFINAE.
</p>
<h4>
<a name="enable_if_macros.preface.h1"></a>
@@ -101,7 +101,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 05, 2012 at 04:00:36 GMT</small></p></td>
+<td align="left"><p><small>Last revised: October 05, 2012 at 04:04:30 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
Modified: sandbox/enable_if/libs/enable_if/doc/preface.qbk
==============================================================================
--- sandbox/enable_if/libs/enable_if/doc/preface.qbk (original)
+++ sandbox/enable_if/libs/enable_if/doc/preface.qbk 2012-10-05 00:05:36 EDT (Fri, 05 Oct 2012)
@@ -21,7 +21,7 @@
The =Enable_If Macros= library is a collection of preprocessor macros aimed
toward enabling and disabling function templates and type template
-specialization in C++11 through the use of SFINAE.
+specializations in C++11 through the use of SFINAE.
[heading Advantages Over std::enable_if and Boost.Enable_If in Brief]
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