forked from boostorg/config
Merge Boost.Config changes from Trunk.
[SVN r67522]
This commit is contained in:
1 parent
bb3e68b516
commit
3ce24d6389
35 files changed
+624
-78
No files matched your search
@@ -71,6 +71,11 @@ The Platform does not provide `<wchar.h>` and `<cwchar>`.
|
||||
[[`BOOST_NO_CWCTYPE`][Platform][
|
||||
The Platform does not provide `<wctype.h>` and `<cwctype>`.
|
||||
]]
|
||||
[[`BOOST_NO_FENV_H`][Platform, Standard library][
|
||||
The C standard library doesn't provide `<fenv.h>`. [@../../../../boost/detail/fenv.hpp
|
||||
`<boost/detail/fenv.hpp>`] should be included instead of `<fenv.h>` for maximum
|
||||
portability on platforms which do provide `<fenv.h>`.
|
||||
]]
|
||||
[[`BOOST_NO_DEPENDENT_NESTED_DERIVATIONS`][Compiler][
|
||||
The compiler fails to compile a nested class that has a dependent base class:
|
||||
``
|
||||
@@ -798,6 +803,38 @@ the arguments is itself a macro (see 16.3.1 in C++ standard). This is normally
|
||||
used to create a mangled name in combination with a predefined macro such a
|
||||
\_\_LINE__.
|
||||
]]
|
||||
[[`BOOST_CONSTEXPR`][
|
||||
Some compilers don't support the use of `constexpr`. This macro expands to nothing on those compilers, and `constexpr`
|
||||
elsewhere. For example, when defining a constexpr function or constructor replace:
|
||||
``
|
||||
constexpr tuple();
|
||||
``
|
||||
with:
|
||||
``
|
||||
BOOST_CONSTEXPR tuple();
|
||||
``
|
||||
]]
|
||||
[[`BOOST_CONSTEXPR_OR_CONST`][
|
||||
Some compilers don't support the use of `constexpr`. This macro expands to `const` on those compilers, and `constexpr`
|
||||
elsewhere. For example, when defining const expr variables replace:
|
||||
``
|
||||
static constexpr UIntType xor_mask = a;
|
||||
``
|
||||
with:
|
||||
``
|
||||
static BOOST_CONSTEXPR_OR_CONST UIntType xor_mask = a;
|
||||
``
|
||||
]]
|
||||
[[`BOOST_STATIC_CONSTEXPR`][
|
||||
This is a shortcut for `static BOOST_CONSTEXPR_OR_CONST`For example, when defining const expr variables replace:
|
||||
``
|
||||
static constexpr UIntType xor_mask = a;
|
||||
``
|
||||
with:
|
||||
``
|
||||
BOOST_STATIC_CONSTEXPR UIntType xor_mask = a;
|
||||
``
|
||||
]]
|
||||
]
|
||||
|
||||
[endsect]
|
||||
@@ -845,6 +882,26 @@ Defined to 1 if the compiler is the Clang compiler.
|
||||
[[`BOOST_WINDOWS`][`<boost/config.hpp>`][
|
||||
Defined if the Windows platfrom API is available.
|
||||
]]
|
||||
[[`BOOST_LINUX`][`<boost/config.hpp>`][
|
||||
Defined if the system kernel is Linux
|
||||
]]
|
||||
[[`BOOST_NIX`][`<boost/config.hpp>`][
|
||||
Defined if the system is POSIX compliant
|
||||
]]
|
||||
[[`BOOST_GENETIC_NIX`][`<boost/config.hpp>`][
|
||||
Defined if the system can trace its ancestry to the original AT&T codebase or
|
||||
designs, but is not certified by the Open Group. This is the case for modern
|
||||
open-source BSD systems.
|
||||
]]
|
||||
[[`BOOST_TRADEMARK_NIX`][`<boost/config.hpp>`][
|
||||
Systems certified as POSIX compliant by the Open Group. These systems can use
|
||||
the UNIX trademark. Most commercially developed *nix systems fall into this
|
||||
category.
|
||||
]]
|
||||
[[`BOOST_FUNCTIONAL_NIX`][`<boost/config.hpp>`][
|
||||
Systems which behave in a manner roughly consistent with POSIX standards. Linux
|
||||
and Minix fall into this category.
|
||||
]]
|
||||
[[`BOOST_DINKUMWARE_STDLIB`][`<boost/config.hpp>`][
|
||||
Defined if the dinkumware standard library is in use, takes the same value
|
||||
as the Dinkumware library version macro `_CPPLIB_VER` if defined, otherwise 1.
|
||||
|
||||
Reference in new issue
Block a user