From 9a1f46fbbc7f18ea7159a956c0c22f4e378f316b Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Thu, 21 Aug 2014 15:41:30 +0400 Subject: [PATCH] Documented BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS. --- .../boost_config/boost_macro_reference.html | 42 +++++++++++++++++++ doc/html/index.html | 2 +- doc/macro_reference.qbk | 10 ++++- 3 files changed, 51 insertions(+), 3 deletions(-) diff --git a/doc/html/boost_config/boost_macro_reference.html b/doc/html/boost_config/boost_macro_reference.html index 5956e446..a556c132 100644 --- a/doc/html/boost_config/boost_macro_reference.html +++ b/doc/html/boost_config/boost_macro_reference.html @@ -1663,6 +1663,29 @@ + +

+ BOOST_HAS_PRAGMA_DETECT_MISSMATCH +

+ + +

+ Compiler +

+ + +

+ The compiler recognizes the #pragma + detect_mismatch("name", + "value") + directive which tells that the link stage should be terminated + with error if values for provided "name" + missmatch. This pragma may be a help in preventing ODR violations + and ensuring that different modules are compiled with same flags. +

+ + +

BOOST_HAS_PTHREAD_DELAY_NP @@ -2824,6 +2847,25 @@ + +

+ 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 DR906) + are susceptible to this problem. +

+ + +

BOOST_NO_CXX11_DELETED_FUNCTIONS diff --git a/doc/html/index.html b/doc/html/index.html index 67510527..1a43c5c4 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -968,7 +968,7 @@ - +

Last revised: August 15, 2014 at 19:00:47 GMT

Last revised: August 21, 2014 at 11:38:06 GMT


diff --git a/doc/macro_reference.qbk b/doc/macro_reference.qbk index faa2cf87..37df824b 100644 --- a/doc/macro_reference.qbk +++ b/doc/macro_reference.qbk @@ -637,10 +637,16 @@ type `char32_t`. `decltype` described in [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3276.pdf N3276], 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. ]] -[[`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. ]] [[`BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS`][The compiler does not support