diff --git a/checks/architecture/riscv.cpp b/checks/architecture/riscv.cpp index 55f37796..d2cea68b 100644 --- a/checks/architecture/riscv.cpp +++ b/checks/architecture/riscv.cpp @@ -1,5 +1,6 @@ // riscv.cpp // +// Copyright Andreas Schwab 2019 // Distributed under the Boost Software License Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) diff --git a/config.htm b/config.htm deleted file mode 100644 index df7430bd..00000000 --- a/config.htm +++ /dev/null @@ -1,15 +0,0 @@ - -
- - - -- Automatic redirection failed, please go to doc/html/index.html. -
-Copyright John Maddock 2001
-Distributed under the Boost Software License, Version 1.0. (See accompanying file - LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt).
- - - - diff --git a/doc/build_time.qbk b/doc/build_time.qbk index 74677057..34030df7 100644 --- a/doc/build_time.qbk +++ b/doc/build_time.qbk @@ -1,3 +1,14 @@ +[/ + Boost.Config + + Copyright (c) 2001 Beman Dawes + Copyright (c) 2001 Vesa Karvonen + Copyright (c) 2001 John Maddock + + Distributed under the Boost Software License, Version 1.0. + (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +] [section:build_config Build Time Configuration] diff --git a/doc/config.qbk b/doc/config.qbk index 584fc298..c7b1116b 100644 --- a/doc/config.qbk +++ b/doc/config.qbk @@ -19,7 +19,6 @@ Distributed under the Boost Software License, Version 1.0. [/ Cited Boost resources ] -[def __BOOST_REGRESSION_TEST_DRIVER__ [@../../../../tools/regression/doc/index.html boost regression test driver]] [def __BOOST_CONFIG_HEADER__ [@../../../../boost/config.hpp
+ BOOST_NO_CXX17_HDR_VARIANT
+
+ The compiler does not support the header <variant>
.
+
BOOST_NO_CXX17_HDR_STRING_VIEW
@@ -4567,6 +4579,33 @@
+ BOOST_ATTRIBUTE_NODISCARD
+
+ Expands to [[nodiscard]]
when this is available - can
+ be used to create a warning when a type or variable is unused.
+
+ BOOST_ATTRIBUTE_NO_UNIQUE_ADDRESS
+
+ Expands to [[no_unique_address]]
when this is available - can
+ be used to indicate that a non-static data member need not have
+ a unique address (for example empty classes).
+
BOOST_MAY_ALIAS
,
diff --git a/doc/html/boost_config/build_config.html b/doc/html/boost_config/build_config.html
index 7acec1b0..d7ad0143 100644
--- a/doc/html/boost_config/build_config.html
+++ b/doc/html/boost_config/build_config.html
@@ -104,7 +104,8 @@
Notice that multiple arguments can be added to the requires rule, and that
these are always the same as the Boost.Config macro name, but in lower case
and with the boost_no_ or boost_has_
- prefix removed.
+ prefix removed. You can also use any C++ standard feature-macro name with the
+ leading underscores removed (see more below).
When building the above example, you will see at the start of the build process @@ -114,6 +115,36 @@ - Boost.Config Feature Check: cxx11_constexpr : yes - Boost.Config Feature Check: cxx11_user_defined_literals : yes +
+ If you wish to make a build conditional on a C++ standard feature macro then + you can specify these too, just remove the leading underscores from the name. + For example: +
+[ requires cpp_constexpr ] ++
+ To require C++11 style const-expressions. If you want to specify a macro from + a particular standard, then you append an underscore followed by the (2 digit) + year of the standard, for example: +
+[ requires cpp_constexpr_17 ] ++
+ For C++17 constepxr. If you don't specify a standard then you get the first + version that introduced the macro. In addition there are only standard-specific + rules for each version bump of the macro, so: +
+[ requires cpp_if_constexpr_17 ] ++
+ Is fine since the macro was introduced in C++17 and is the same as the un-versioned + name, but: +
+[ requires cpp_if_constexpr_20 ] ++
+ Will result in a build error since there is no C++20 version bump for __cpp_if_constexpr
.
+
That's all there is to this handy feature, should at any time you be unsure of the feature-test names you can pass to the "requires" rule, then diff --git a/doc/html/index.html b/doc/html/index.html index 38d8c0d3..cf34e1fc 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -969,11 +969,6 @@ files, there are rather a lot of them, so there are a couple of shortcuts to help you out:
-- If you have built the boost - regression test driver, then you can use this to produce a nice html - formatted report of the results using the supplied test file. -
Alternatively you can run the configure script like this:
@@ -993,7 +988,7 @@Last revised: October 15, 2018 at 16:56:00 GMT |
+Last revised: August 20, 2019 at 17:48:08 GMT |