mirror of
https://github.com/boostorg/config.git
synced 2025-07-29 20:07:17 +02:00
Fix typos in docs
[SVN r77295]
This commit is contained in:
@ -346,8 +346,8 @@ configuration macros setting. In a case like this, you can define
|
||||
`BOOST_NO_COMPILER_CONFIG` either on the command line, or in __BOOST_CONFIG_USER_HEADER__,
|
||||
and miss out the compiler configuration header altogether (actually you miss out
|
||||
two headers, one which works out what the compiler is, and one that configures
|
||||
boost for it). This has two consequences: the first is that less code has to be c
|
||||
ompiled, and the second that you have removed a dependency on two boost headers.
|
||||
boost for it). This has two consequences: the first is that less code has to be
|
||||
compiled, and the second that you have removed a dependency on two boost headers.
|
||||
|
||||
[endsect]
|
||||
|
||||
|
@ -62,7 +62,7 @@ majority of compilers, such as namespaces, exceptions, RTTI, or templates.
|
||||
[section:warnings Disabling Compiler Warnings]
|
||||
|
||||
The header `<boost/config/warning_disable.hpp>` can be used to disable
|
||||
certain compiler warings that are hard or impossible to otherwise remove.
|
||||
certain compiler warnings that are hard or impossible to otherwise remove.
|
||||
|
||||
Note that:
|
||||
|
||||
|
@ -2948,8 +2948,8 @@
|
||||
<td>
|
||||
<p>
|
||||
This is a shortcut for <code class="computeroutput"><span class="keyword">static</span>
|
||||
<span class="identifier">BOOST_CONSTEXPR_OR_CONST</span></code>For
|
||||
example, when defining const expr variables replace:
|
||||
<span class="identifier">BOOST_CONSTEXPR_OR_CONST</span></code>.
|
||||
For example, when defining const expr variables replace:
|
||||
</p>
|
||||
<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">static</span> <span class="identifier">constexpr</span> <span class="identifier">UIntType</span> <span class="identifier">xor_mask</span> <span class="special">=</span> <span class="identifier">a</span><span class="special">;</span>
|
||||
</pre>
|
||||
@ -3293,7 +3293,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
When the standard library does not have a comforming <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">use_facet</span></code> there are various workarounds
|
||||
When the standard library does not have a conforming <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">use_facet</span></code> there are various workarounds
|
||||
available, but they differ from library to library. This macro
|
||||
provides a consistent way to access a locale's facets. For example,
|
||||
replace: <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">use_facet</span><span class="special"><</span><span class="identifier">Type</span><span class="special">>(</span><span class="identifier">loc</span><span class="special">);</span></code>
|
||||
|
@ -110,7 +110,7 @@
|
||||
</h3></div></div></div>
|
||||
<p>
|
||||
The header <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">warning_disable</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
|
||||
can be used to disable certain compiler warings that are hard or impossible
|
||||
can be used to disable certain compiler warnings that are hard or impossible
|
||||
to otherwise remove.
|
||||
</p>
|
||||
<p>
|
||||
|
@ -770,7 +770,7 @@
|
||||
and miss out the compiler configuration header altogether (actually you
|
||||
miss out two headers, one which works out what the compiler is, and one
|
||||
that configures boost for it). This has two consequences: the first is
|
||||
that less code has to be c ompiled, and the second that you have removed
|
||||
that less code has to be compiled, and the second that you have removed
|
||||
a dependency on two boost headers.
|
||||
</p>
|
||||
</div>
|
||||
@ -951,7 +951,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: March 10, 2012 at 05:58:57 GMT</small></p></td>
|
||||
<td align="left"><p><small>Last revised: March 10, 2012 at 18:02:52 GMT</small></p></td>
|
||||
<td align="right"><div class="copyright-footer"></div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
|
@ -670,7 +670,7 @@ with:
|
||||
``
|
||||
]]
|
||||
[[`BOOST_STATIC_CONSTEXPR`][
|
||||
This is a shortcut for `static BOOST_CONSTEXPR_OR_CONST`For example, when defining const expr variables replace:
|
||||
This is a shortcut for `static BOOST_CONSTEXPR_OR_CONST`. For example, when defining const expr variables replace:
|
||||
``
|
||||
static constexpr UIntType xor_mask = a;
|
||||
``
|
||||
@ -850,7 +850,7 @@ must be used when the macro invocation appears after a normal parameter
|
||||
declaration or after the invocation of another macro of this same group.
|
||||
]]
|
||||
[[`BOOST_USE_FACET(Type, loc)`][
|
||||
When the standard library does not have a comforming `std::use_facet` there
|
||||
When the standard library does not have a conforming `std::use_facet` there
|
||||
are various workarounds available, but they differ from library to library.
|
||||
This macro provides a consistent way to access a locale's facets. For example,
|
||||
replace:
|
||||
|
Reference in New Issue
Block a user