mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 20:37:15 +02:00
Documented BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS.
This commit is contained in:
@ -1663,6 +1663,29 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
<code class="computeroutput"><span class="identifier">BOOST_HAS_PRAGMA_DETECT_MISSMATCH</span></code>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
Compiler
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
The compiler recognizes the <code class="computeroutput"><span class="preprocessor">#pragma</span>
|
||||||
|
<span class="identifier">detect_mismatch</span><span class="special">(</span><span class="string">"name"</span><span class="special">,</span>
|
||||||
|
<span class="string">"value"</span><span class="special">)</span></code>
|
||||||
|
directive which tells that the link stage should be terminated
|
||||||
|
with error if values for provided <code class="computeroutput"><span class="string">"name"</span></code>
|
||||||
|
missmatch. This pragma may be a help in preventing ODR violations
|
||||||
|
and ensuring that different modules are compiled with same flags.
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_HAS_PTHREAD_DELAY_NP</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_HAS_PTHREAD_DELAY_NP</span></code>
|
||||||
@ -2824,6 +2847,25 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
<code class="computeroutput"><span class="identifier">BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS</span></code>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
The compiler does not support defaulted (<code class="computeroutput"><span class="special">=</span>
|
||||||
|
<span class="keyword">default</span></code>) functions in access
|
||||||
|
control sections other than <code class="computeroutput"><span class="keyword">public</span></code>.
|
||||||
|
Public defaulted functions may still be supported, as indicated
|
||||||
|
by <code class="computeroutput"><span class="identifier">BOOST_NO_CXX11_DEFAULTED_FUNCTIONS</span></code>.
|
||||||
|
Some compilers implementing an early draft of the C++11 standard
|
||||||
|
(in particular, incorporating <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#906" target="_top">DR906</a>)
|
||||||
|
are susceptible to this problem.
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_NO_CXX11_DELETED_FUNCTIONS</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_NO_CXX11_DELETED_FUNCTIONS</span></code>
|
||||||
|
@ -968,7 +968,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: August 15, 2014 at 19:00:47 GMT</small></p></td>
|
<td align="left"><p><small>Last revised: August 21, 2014 at 11:38:06 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>
|
||||||
|
@ -637,10 +637,16 @@ type `char32_t`.
|
|||||||
`decltype` described in [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3276.pdf N3276],
|
`decltype` described in [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3276.pdf N3276],
|
||||||
accepted in Madrid, March 2011.
|
accepted in Madrid, March 2011.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_NO_CXX11_DEFAULTED_FUNCTIONS`][The compiler does not support
|
[[`BOOST_NO_CXX11_DEFAULTED_FUNCTIONS`][The compiler does not support
|
||||||
defaulted (`= default`) functions.
|
defaulted (`= default`) functions.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_NO_CXX11_DELETED_FUNCTIONS`][The compiler does not support
|
[[`BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS`][The compiler does not support
|
||||||
|
defaulted (`= default`) functions in access control sections other than `public`. Public defaulted
|
||||||
|
functions may still be supported, as indicated by `BOOST_NO_CXX11_DEFAULTED_FUNCTIONS`. Some
|
||||||
|
compilers implementing an early draft of the C++11 standard (in particular, incorporating
|
||||||
|
[@http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#906 DR906]) are susceptible to this problem.
|
||||||
|
]]
|
||||||
|
[[`BOOST_NO_CXX11_DELETED_FUNCTIONS`][The compiler does not support
|
||||||
deleted (`= delete`) functions.
|
deleted (`= delete`) functions.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS`][The compiler does not support
|
[[`BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS`][The compiler does not support
|
||||||
|
Reference in New Issue
Block a user