mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 12:27:16 +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__,
|
`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
|
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
|
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
|
boost for it). This has two consequences: the first is that less code has to be
|
||||||
ompiled, and the second that you have removed a dependency on two boost headers.
|
compiled, and the second that you have removed a dependency on two boost headers.
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ majority of compilers, such as namespaces, exceptions, RTTI, or templates.
|
|||||||
[section:warnings Disabling Compiler Warnings]
|
[section:warnings Disabling Compiler Warnings]
|
||||||
|
|
||||||
The header `<boost/config/warning_disable.hpp>` can be used to disable
|
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:
|
Note that:
|
||||||
|
|
||||||
|
@ -2948,8 +2948,8 @@
|
|||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
This is a shortcut for <code class="computeroutput"><span class="keyword">static</span>
|
This is a shortcut for <code class="computeroutput"><span class="keyword">static</span>
|
||||||
<span class="identifier">BOOST_CONSTEXPR_OR_CONST</span></code>For
|
<span class="identifier">BOOST_CONSTEXPR_OR_CONST</span></code>.
|
||||||
example, when defining const expr variables replace:
|
For example, when defining const expr variables replace:
|
||||||
</p>
|
</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 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>
|
</pre>
|
||||||
@ -3293,7 +3293,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<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
|
available, but they differ from library to library. This macro
|
||||||
provides a consistent way to access a locale's facets. For example,
|
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>
|
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>
|
</h3></div></div></div>
|
||||||
<p>
|
<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>
|
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.
|
to otherwise remove.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
@ -770,7 +770,7 @@
|
|||||||
and miss out the compiler configuration header altogether (actually you
|
and miss out the compiler configuration header altogether (actually you
|
||||||
miss out two headers, one which works out what the compiler is, and one
|
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 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.
|
a dependency on two boost headers.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@ -951,7 +951,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
<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>
|
<td align="right"><div class="copyright-footer"></div></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
|
@ -670,7 +670,7 @@ with:
|
|||||||
``
|
``
|
||||||
]]
|
]]
|
||||||
[[`BOOST_STATIC_CONSTEXPR`][
|
[[`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;
|
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.
|
declaration or after the invocation of another macro of this same group.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_USE_FACET(Type, loc)`][
|
[[`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.
|
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,
|
This macro provides a consistent way to access a locale's facets. For example,
|
||||||
replace:
|
replace:
|
||||||
|
Reference in New Issue
Block a user