diff --git a/doc/html/boost_config/acknowledgements.html b/doc/html/boost_config/acknowledgements.html index 95301d82..f8143ae3 100644 --- a/doc/html/boost_config/acknowledgements.html +++ b/doc/html/boost_config/acknowledgements.html @@ -3,7 +3,7 @@
- |
+ BOOST_NO_DECLTYPE_N3276
+
+ The compiler does not support the extension to decltype
+ described in N3276,
+ accepted in Madrid, March 2011.
+
BOOST_NO_DEFAULTED_FUNCTIONS
@@ -2714,7 +2728,7 @@
- The compiler does not support 'nullptr'.
+ The compiler does not support nullptr
.
+
The following macros are either simple helpers, or macros that provide workarounds for compiler/standard library defects.
@@ -2889,10 +2903,10 @@ usage is then:#if BOOST_WORKAROUND(MACRONAME, CONDITION) - // workaround code goes here... -#else - // Standard conforming code goes here... -#endif + // workaround code goes here... +#else + // Standard conforming code goes here... +#endif
where MACRONAME
@@ -3277,12 +3291,12 @@
#ifndef MY_INCLUDE_GUARD #define MY_INCLUDE_GUARD -// all includes go here: -+#include <boost/config.hpp>
+// all includes go here: +#include <boost/config.hpp>
#include <whatever> -#include <boost/config/abi_prefix.hpp>
// must be the last #include - +#include <boost/config/abi_prefix.hpp>
// must be the last #include + namespace boost { -// your code goes here - +// your code goes here + } -#include <boost/config/abi_suffix.hpp>
// pops abi_prefix.hpp pragmas - -#endif // include guard -
#include <boost/config/abi_suffix.hpp>
// pops abi_prefix.hpp pragmas
+
+#endif // include guard
+
my_library.cpp
... -// nothing special need be done in the implementation file -... +// nothing special need be done in the implementation file +...
The user can disable this mechanism by defining BOOST_DISABLE_ABI_HEADERS
,
@@ -3801,7 +3815,7 @@
to point to their own prefix/suffix headers if they so wish.
... -// -// Don't include auto-linking code if the user has disabled it by -// defining BOOST_ALL_NO_LIB, or BOOST_MY_LIBRARY_NO_LIB, or if this -// is one of our own source files (signified by BOOST_MY_LIBRARY_SOURCE): -// -#if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_MY_LIBRARY_NO_LIB) && !defined(BOOST_MY_LIBRARY_SOURCE) +// +// Don't include auto-linking code if the user has disabled it by +// defining BOOST_ALL_NO_LIB, or BOOST_MY_LIBRARY_NO_LIB, or if this +// is one of our own source files (signified by BOOST_MY_LIBRARY_SOURCE): +// +#if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_MY_LIBRARY_NO_LIB) && !defined(BOOST_MY_LIBRARY_SOURCE) # define BOOST_LIB_NAME boost_my_library # ifdef BOOST_MY_LIBRARY_DYN_LINK # define BOOST_DYN_LINK @@ -3873,10 +3887,10 @@my_library.cpp
-// define BOOST_MY_LIBRARY_SOURCE so that the header knows that the -// library is being built (possibly exporting rather than importing code) -// -#define BOOST_MY_LIBRARY_SOURCE +// define BOOST_MY_LIBRARY_SOURCE so that the header knows that the +// library is being built (possibly exporting rather than importing code) +// +#define BOOST_MY_LIBRARY_SOURCE #include <boost/my_library/my_library.hpp> ... @@ -3886,7 +3900,8 @@
- |
.ipp
file with the following comments near the top:
-// MACRO: BOOST_NO_FOO -// TITLE: foo -// DESCRIPTION: If the compiler fails to support foo -+
// MACRO: BOOST_NO_FOO +// TITLE: foo +// DESCRIPTION: If the compiler fails to support foo +
These comments are processed by the autoconf script, so make sure the format
follows the one given. The file should be named "boost_no_foo.ipp
",
@@ -222,9 +222,9 @@
namespace boost_no_foo { int test() { - // test code goes here: - // - return 0; + // test code goes here: + // + return 0; } } @@ -233,15 +233,15 @@ Once the test code is in place in libs/config/test, updating the configuration test system proceeds as: --
- +
+
- cd into
-libs/config/tools
and runbjam
. This generates the.cpp
file test cases from the.ipp
file, updates the libs/config/test/all/Jamfile.v2,config_test.cpp
andconfig_info.cpp
.
- +
- cd into
-libs/config/test/all
and runbjam
MACRONAMEcompiler-list
, where MACRONAME is the name of the new macro, and @@ -253,7 +253,7 @@ is defined when it should not be defined, xxx_fail_test will not report**passed**
.
- +
- cd into
libs/config/test
and runbjam config_info config_test
compiler-list
. @@ -266,26 +266,26 @@Then you should:
---
- +
+
- Define the defect macro in those config headers that require it.
-- +
- Document the macro in this documentation (please do not forget this step!!)
-- +
- Commit everything.
-- +
- Keep an eye on the regression tests for new failures in Boost.Config caused by the addition.
-- +
- Start using the macro.
+-Adding New Feature Test Macros @@ -309,7 +309,7 @@
<unistd.h>
).+Modifying the Boost Configuration Headers @@ -362,7 +362,8 @@
-