aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2022-09-13 17:12:47 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2022-09-13 17:12:47 +0300
commitf6539f9bcfe20b2da110a732ec6844c1890bc04c (patch)
treeea55d500f3f12b65d63031b436f6eb6f1a82749b
parent6d0f751258635daa9925e5dadb453b8fd8f83635 (diff)
downloadydb-f6539f9bcfe20b2da110a732ec6844c1890bc04c.tar.gz
Update contrib/restricted/boost/predef to 1.79.0
-rw-r--r--contrib/restricted/boost/predef/include/boost/detail/endian.hpp11
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture.h5
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/alpha.h32
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/arm.h125
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/blackfin.h26
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/convex.h32
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/e2k.h54
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/ia64.h32
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/loongarch.h41
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/m68k.h60
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/mips.h51
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/parisc.h42
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/ppc.h112
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/ptx.h50
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/pyramid.h20
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/riscv.h48
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/rs6k.h35
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/sparc.h39
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/superh.h44
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/sys370.h24
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/sys390.h24
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/x86.h8
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/x86/32.h56
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/x86/64.h32
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/architecture/z.h22
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler.h1
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/borland.h23
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/clang.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/comeau.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/compaq.h25
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/diab.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/digitalmars.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/dignus.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/edg.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/ekopath.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/gcc.h21
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/gcc_xml.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/greenhills.h23
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/hp_acc.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/iar.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/ibm.h29
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/intel.h35
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/kai.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/llvm.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/metaware.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/metrowerks.h27
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/microtec.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/mpw.h23
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/nvcc.h74
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/palm.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/pgi.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/sgi_mipspro.h23
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/sunpro.h27
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/tendra.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/visualc.h25
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/compiler/watcom.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/detail/endian_compat.h26
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/hardware/simd.h141
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/hardware/simd/arm.h40
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/hardware/simd/arm/versions.h26
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/hardware/simd/ppc.h40
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/hardware/simd/ppc/versions.h48
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86.h76
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86/versions.h140
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86_amd.h48
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86_amd/versions.h43
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/language.h1
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/language/cuda.h53
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/language/objc.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/language/stdc.h21
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/language/stdcpp.h75
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/c/cloudabi.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/c/gnu.h23
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/c/uc.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/c/vms.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/c/zos.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/std/cxx.h21
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/std/dinkumware.h21
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/std/libcomo.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/std/modena.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/std/msl.h23
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/std/roguewave.h21
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/std/sgi.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/std/stdcpp3.h23
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/std/stlport.h25
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/std/vacpp.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/make.h136
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os.h1
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/aix.h27
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/amigaos.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/android.h45
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/beos.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/bsd.h45
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/bsd/bsdi.h18
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/bsd/dragonfly.h18
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/bsd/free.h20
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/bsd/net.h32
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/bsd/open.h118
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/cygwin.h24
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/haiku.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/hpux.h21
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/ios.h23
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/irix.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/linux.h24
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/macos.h27
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/os400.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/qnxnto.h23
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/solaris.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/unix.h46
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/vms.h21
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/windows.h31
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/other.h5
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/other/endian.h40
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/other/wordsize.h73
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/other/workaround.h95
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform.h2
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform/android.h44
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform/cloudabi.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform/ios.h23
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform/mingw.h23
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform/mingw32.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform/mingw64.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform/windows_desktop.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform/windows_phone.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform/windows_runtime.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform/windows_server.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform/windows_store.h19
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform/windows_system.h17
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/platform/windows_uwp.h23
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/version.h2
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/version_number.h30
-rw-r--r--contrib/restricted/thrift/thrift/protocol/TProtocol.h2
132 files changed, 2548 insertions, 1598 deletions
diff --git a/contrib/restricted/boost/predef/include/boost/detail/endian.hpp b/contrib/restricted/boost/predef/include/boost/detail/endian.hpp
deleted file mode 100644
index f576c26b89..0000000000
--- a/contrib/restricted/boost/predef/include/boost/detail/endian.hpp
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2013 Rene Rivera
-// Distributed under the Boost Software License, Version 1.0. (See accompany-
-// ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#ifndef BOOST_DETAIL_ENDIAN_HPP
-#define BOOST_DETAIL_ENDIAN_HPP
-
-// Use the Predef library for the detection of endianess.
-#include <boost/predef/detail/endian_compat.h>
-
-#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture.h b/contrib/restricted/boost/predef/include/boost/predef/architecture.h
index c433d437bd..b131a89282 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture.h
@@ -14,12 +14,16 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/architecture/arm.h>
#include <boost/predef/architecture/blackfin.h>
#include <boost/predef/architecture/convex.h>
+#include <boost/predef/architecture/e2k.h>
#include <boost/predef/architecture/ia64.h>
+#include <boost/predef/architecture/loongarch.h>
#include <boost/predef/architecture/m68k.h>
#include <boost/predef/architecture/mips.h>
#include <boost/predef/architecture/parisc.h>
#include <boost/predef/architecture/ppc.h>
+#include <boost/predef/architecture/ptx.h>
#include <boost/predef/architecture/pyramid.h>
+#include <boost/predef/architecture/riscv.h>
#include <boost/predef/architecture/rs6k.h>
#include <boost/predef/architecture/sparc.h>
#include <boost/predef/architecture/superh.h>
@@ -27,6 +31,5 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/architecture/sys390.h>
#include <boost/predef/architecture/x86.h>
#include <boost/predef/architecture/z.h>
-/*#include <boost/predef/architecture/.h>*/
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/alpha.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/alpha.h
index 5bcade18b1..64d3dad3cd 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/alpha.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/alpha.h
@@ -11,22 +11,23 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_ALPHA`]
+/* tag::reference[]
+= `BOOST_ARCH_ALPHA`
-[@http://en.wikipedia.org/wiki/DEC_Alpha DEC Alpha] architecture.
+http://en.wikipedia.org/wiki/DEC_Alpha[DEC Alpha] architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
- [[`__alpha__`] [__predef_detection__]]
- [[`__alpha`] [__predef_detection__]]
- [[`_M_ALPHA`] [__predef_detection__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
+| `+__alpha__+` | {predef_detection}
+| `+__alpha+` | {predef_detection}
+| `+_M_ALPHA+` | {predef_detection}
- [[`__alpha_ev4__`] [4.0.0]]
- [[`__alpha_ev5__`] [5.0.0]]
- [[`__alpha_ev6__`] [6.0.0]]
- ]
- */
+| `+__alpha_ev4__+` | 4.0.0
+| `+__alpha_ev5__+` | 5.0.0
+| `+__alpha_ev6__+` | 6.0.0
+|===
+*/ // end::reference[]
#define BOOST_ARCH_ALPHA BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -51,6 +52,11 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_ALPHA_AVAILABLE
#endif
+#if BOOST_ARCH_ALPHA
+# undef BOOST_ARCH_WORD_BITS_64
+# define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_ALPHA_NAME "DEC Alpha"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/arm.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/arm.h
index 76f9f947bd..8ab20b2d1e 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/arm.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/arm.h
@@ -1,5 +1,5 @@
/*
-Copyright Rene Rivera 2008-2015
+Copyright Rene Rivera 2008-2019
Copyright Franz Detro 2014
Copyright (c) Microsoft Corporation 2014
Distributed under the Boost Software License, Version 1.0.
@@ -13,38 +13,77 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_ARM`]
+/* tag::reference[]
+= `BOOST_ARCH_ARM`
-[@http://en.wikipedia.org/wiki/ARM_architecture ARM] architecture.
+http://en.wikipedia.org/wiki/ARM_architecture[ARM] architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__arm__`] [__predef_detection__]]
- [[`__arm64`] [__predef_detection__]]
- [[`__thumb__`] [__predef_detection__]]
- [[`__TARGET_ARCH_ARM`] [__predef_detection__]]
- [[`__TARGET_ARCH_THUMB`] [__predef_detection__]]
- [[`_M_ARM`] [__predef_detection__]]
- [[`_M_ARM64`] [__predef_detection__]]
+| `+__ARM_ARCH+` | {predef_detection}
+| `+__TARGET_ARCH_ARM+` | {predef_detection}
+| `+__TARGET_ARCH_THUMB+` | {predef_detection}
+| `+_M_ARM+` | {predef_detection}
+| `+__arm__+` | {predef_detection}
+| `+__arm64+` | {predef_detection}
+| `+__thumb__+` | {predef_detection}
+| `+_M_ARM64+` | {predef_detection}
+| `+__aarch64__+` | {predef_detection}
+| `+__AARCH64EL__+` | {predef_detection}
+| `+__ARM_ARCH_7__+` | {predef_detection}
+| `+__ARM_ARCH_7A__+` | {predef_detection}
+| `+__ARM_ARCH_7R__+` | {predef_detection}
+| `+__ARM_ARCH_7M__+` | {predef_detection}
+| `+__ARM_ARCH_6K__+` | {predef_detection}
+| `+__ARM_ARCH_6Z__+` | {predef_detection}
+| `+__ARM_ARCH_6KZ__+` | {predef_detection}
+| `+__ARM_ARCH_6T2__+` | {predef_detection}
+| `+__ARM_ARCH_5TE__+` | {predef_detection}
+| `+__ARM_ARCH_5TEJ__+` | {predef_detection}
+| `+__ARM_ARCH_4T__+` | {predef_detection}
+| `+__ARM_ARCH_4__+` | {predef_detection}
- [[`__arm64`] [8.0.0]]
- [[`__TARGET_ARCH_ARM`] [V.0.0]]
- [[`__TARGET_ARCH_THUMB`] [V.0.0]]
- [[`_M_ARM`] [V.0.0]]
- [[`_M_ARM64`] [8.0.0]]
- ]
- */
+| `+__ARM_ARCH+` | V.0.0
+| `+__TARGET_ARCH_ARM+` | V.0.0
+| `+__TARGET_ARCH_THUMB+` | V.0.0
+| `+_M_ARM+` | V.0.0
+| `+__arm64+` | 8.0.0
+| `+_M_ARM64+` | 8.0.0
+| `+__aarch64__+` | 8.0.0
+| `+__AARCH64EL__+` | 8.0.0
+| `+__ARM_ARCH_7__+` | 7.0.0
+| `+__ARM_ARCH_7A__+` | 7.0.0
+| `+__ARM_ARCH_7R__+` | 7.0.0
+| `+__ARM_ARCH_7M__+` | 7.0.0
+| `+__ARM_ARCH_6K__+` | 6.0.0
+| `+__ARM_ARCH_6Z__+` | 6.0.0
+| `+__ARM_ARCH_6KZ__+` | 6.0.0
+| `+__ARM_ARCH_6T2__+` | 6.0.0
+| `+__ARM_ARCH_5TE__+` | 5.0.0
+| `+__ARM_ARCH_5TEJ__+` | 5.0.0
+| `+__ARM_ARCH_4T__+` | 4.0.0
+| `+__ARM_ARCH_4__+` | 4.0.0
+|===
+*/ // end::reference[]
#define BOOST_ARCH_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE
-#if defined(__arm__) || defined(__arm64) || defined(__thumb__) || \
- defined(__TARGET_ARCH_ARM) || defined(__TARGET_ARCH_THUMB) || \
- defined(_M_ARM) || defined(_M_ARM64)
+#if \
+ defined(__ARM_ARCH) || defined(__TARGET_ARCH_ARM) || \
+ defined(__TARGET_ARCH_THUMB) || defined(_M_ARM) || \
+ defined(__arm__) || defined(__arm64) || defined(__thumb__) || \
+ defined(_M_ARM64) || defined(__aarch64__) || defined(__AARCH64EL__) || \
+ defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || \
+ defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || \
+ defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || \
+ defined(__ARM_ARCH_6KZ__) || defined(__ARM_ARCH_6T2__) || \
+ defined(__ARM_ARCH_5TE__) || defined(__ARM_ARCH_5TEJ__) || \
+ defined(__ARM_ARCH_4T__) || defined(__ARM_ARCH_4__)
# undef BOOST_ARCH_ARM
-# if !defined(BOOST_ARCH_ARM) && defined(__arm64)
-# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(8,0,0)
+# if !defined(BOOST_ARCH_ARM) && defined(__ARM_ARCH)
+# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(__ARM_ARCH,0,0)
# endif
# if !defined(BOOST_ARCH_ARM) && defined(__TARGET_ARCH_ARM)
# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(__TARGET_ARCH_ARM,0,0)
@@ -52,12 +91,32 @@ http://www.boost.org/LICENSE_1_0.txt)
# if !defined(BOOST_ARCH_ARM) && defined(__TARGET_ARCH_THUMB)
# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(__TARGET_ARCH_THUMB,0,0)
# endif
-# if !defined(BOOST_ARCH_ARM) && defined(_M_ARM64)
-# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(8,0,0)
-# endif
# if !defined(BOOST_ARCH_ARM) && defined(_M_ARM)
# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(_M_ARM,0,0)
# endif
+# if !defined(BOOST_ARCH_ARM) && ( \
+ defined(__arm64) || defined(_M_ARM64) || defined(__aarch64__) || \
+ defined(__AARCH64EL__) )
+# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(8,0,0)
+# endif
+# if !defined(BOOST_ARCH_ARM) && ( \
+ defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || \
+ defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) )
+# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(7,0,0)
+# endif
+# if !defined(BOOST_ARCH_ARM) && ( \
+ defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || \
+ defined(__ARM_ARCH_6KZ__) || defined(__ARM_ARCH_6T2__) )
+# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(6,0,0)
+# endif
+# if !defined(BOOST_ARCH_ARM) && ( \
+ defined(__ARM_ARCH_5TE__) || defined(__ARM_ARCH_5TEJ__) )
+# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(5,0,0)
+# endif
+# if !defined(BOOST_ARCH_ARM) && ( \
+ defined(__ARM_ARCH_4T__) || defined(__ARM_ARCH_4__) )
+# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER(4,0,0)
+# endif
# if !defined(BOOST_ARCH_ARM)
# define BOOST_ARCH_ARM BOOST_VERSION_NUMBER_AVAILABLE
# endif
@@ -67,6 +126,16 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_ARM_AVAILABLE
#endif
+#if BOOST_ARCH_ARM
+# if BOOST_ARCH_ARM >= BOOST_VERSION_NUMBER(8,0,0)
+# undef BOOST_ARCH_WORD_BITS_64
+# define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
+# else
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+# endif
+#endif
+
#define BOOST_ARCH_ARM_NAME "ARM"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/blackfin.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/blackfin.h
index 84c58a25e9..5c94b448d9 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/blackfin.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/blackfin.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_BLACKFIN`]
+/* tag::reference[]
+= `BOOST_ARCH_BLACKFIN`
Blackfin Processors from Analog Devices.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__bfin__`] [__predef_detection__]]
- [[`__BFIN__`] [__predef_detection__]]
- [[`bfin`] [__predef_detection__]]
- [[`BFIN`] [__predef_detection__]]
- ]
- */
+| `+__bfin__+` | {predef_detection}
+| `+__BFIN__+` | {predef_detection}
+| `bfin` | {predef_detection}
+| `BFIN` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_ARCH_BLACKFIN BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -38,6 +39,11 @@ Blackfin Processors from Analog Devices.
# define BOOST_ARCH_BLACKFIN_AVAILABLE
#endif
+#if BOOST_ARCH_BLACKFIN
+# undef BOOST_ARCH_WORD_BITS_16
+# define BOOST_ARCH_WORD_BITS_16 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_BLACKFIN_NAME "Blackfin"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/convex.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/convex.h
index ac783a9cc1..eb73d083e8 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/convex.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/convex.h
@@ -11,23 +11,24 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_CONVEX`]
+/* tag::reference[]
+= `BOOST_ARCH_CONVEX`
-[@http://en.wikipedia.org/wiki/Convex_Computer Convex Computer] architecture.
+http://en.wikipedia.org/wiki/Convex_Computer[Convex Computer] architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__convex__`] [__predef_detection__]]
+| `+__convex__+` | {predef_detection}
- [[`__convex_c1__`] [1.0.0]]
- [[`__convex_c2__`] [2.0.0]]
- [[`__convex_c32__`] [3.2.0]]
- [[`__convex_c34__`] [3.4.0]]
- [[`__convex_c38__`] [3.8.0]]
- ]
- */
+| `+__convex_c1__+` | 1.0.0
+| `+__convex_c2__+` | 2.0.0
+| `+__convex_c32__+` | 3.2.0
+| `+__convex_c34__+` | 3.4.0
+| `+__convex_c38__+` | 3.8.0
+|===
+*/ // end::reference[]
#define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -57,6 +58,11 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_CONVEX_AVAILABLE
#endif
+#if BOOST_ARCH_CONVEX
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_CONVEX_NAME "Convex Computer"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/e2k.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/e2k.h
new file mode 100644
index 0000000000..92edc9e266
--- /dev/null
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/e2k.h
@@ -0,0 +1,54 @@
+/*
+Copyright Konstantin Ivlev 2021
+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)
+*/
+
+#ifndef BOOST_PREDEF_ARCHITECTURE_E2K_H
+#define BOOST_PREDEF_ARCHITECTURE_E2K_H
+
+#include <boost/predef/version_number.h>
+#include <boost/predef/make.h>
+
+/* tag::reference[]
+= `BOOST_ARCH_E2K`
+
+https://en.wikipedia.org/wiki/Elbrus_2000[E2K] architecture.
+
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
+
+| `+__e2k__+` | {predef_detection}
+
+| `+__e2k__+` | V.0.0
+|===
+*/ // end::reference[]
+
+#define BOOST_ARCH_E2K BOOST_VERSION_NUMBER_NOT_AVAILABLE
+
+#if defined(__e2k__)
+# undef BOOST_ARCH_E2K
+# if !defined(BOOST_ARCH_E2K) && defined(__iset__)
+# define BOOST_ARCH_E2K BOOST_VERSION_NUMBER(__iset__,0,0)
+# endif
+# if !defined(BOOST_ARCH_E2K)
+# define BOOST_ARCH_E2K BOOST_VERSION_NUMBER_AVAILABLE
+# endif
+#endif
+
+#if BOOST_ARCH_E2K
+# define BOOST_ARCH_E2K_AVAILABLE
+#endif
+
+#if BOOST_ARCH_E2K
+# define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
+#define BOOST_ARCH_E2K_NAME "E2K"
+
+#endif
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_E2K,BOOST_ARCH_E2K_NAME)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/ia64.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/ia64.h
index 9b1972bd39..1f4b58a049 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/ia64.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/ia64.h
@@ -11,22 +11,23 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_IA64`]
+/* tag::reference[]
+= `BOOST_ARCH_IA64`
-[@http://en.wikipedia.org/wiki/Ia64 Intel Itanium 64] architecture.
+http://en.wikipedia.org/wiki/Ia64[Intel Itanium 64] architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__ia64__`] [__predef_detection__]]
- [[`_IA64`] [__predef_detection__]]
- [[`__IA64__`] [__predef_detection__]]
- [[`__ia64`] [__predef_detection__]]
- [[`_M_IA64`] [__predef_detection__]]
- [[`__itanium__`] [__predef_detection__]]
- ]
- */
+| `+__ia64__+` | {predef_detection}
+| `+_IA64+` | {predef_detection}
+| `+__IA64__+` | {predef_detection}
+| `+__ia64+` | {predef_detection}
+| `+_M_IA64+` | {predef_detection}
+| `+__itanium__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_ARCH_IA64 BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -41,6 +42,11 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_IA64_AVAILABLE
#endif
+#if BOOST_ARCH_IA64
+# undef BOOST_ARCH_WORD_BITS_64
+# define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_IA64_NAME "Intel Itanium 64"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/loongarch.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/loongarch.h
new file mode 100644
index 0000000000..e3e163bd67
--- /dev/null
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/loongarch.h
@@ -0,0 +1,41 @@
+/*
+Copyright Zhang Na 2022
+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)
+*/
+
+#ifndef BOOST_PREDEF_ARCHITECTURE_LOONGARCH_H
+#define BOOST_PREDEF_ARCHITECTURE_LOONGARCH_H
+
+#include <boost/predef/version_number.h>
+#include <boost/predef/make.h>
+
+/* tag::reference[]
+= `BOOST_ARCH_LOONGARCH`
+
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
+
+| `+__loongarch__+` | {predef_detection}
+|===
+*/ // end::reference[]
+
+#define BOOST_ARCH_LOONGARCH BOOST_VERSION_NUMBER_NOT_AVAILABLE
+
+#if defined(__loongarch__)
+# undef BOOST_ARCH_LOONGARCH
+# define BOOST_ARCH_LOONGARCH BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
+#if BOOST_ARCH_LOONGARCH
+# define BOOST_ARCH_LOONGARCH_AVAILABLE
+#endif
+
+#define BOOST_ARCH_LOONGARCH_NAME "LoongArch"
+
+#endif
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_LOONGARCH,BOOST_ARCH_LOONGARCH_NAME)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/m68k.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/m68k.h
index 63ed5f8479..a594537828 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/m68k.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/m68k.h
@@ -11,37 +11,38 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_M68K`]
+/* tag::reference[]
+= `BOOST_ARCH_M68K`
-[@http://en.wikipedia.org/wiki/M68k Motorola 68k] architecture.
+http://en.wikipedia.org/wiki/M68k[Motorola 68k] architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__m68k__`] [__predef_detection__]]
- [[`M68000`] [__predef_detection__]]
+| `+__m68k__+` | {predef_detection}
+| `M68000` | {predef_detection}
- [[`__mc68060__`] [6.0.0]]
- [[`mc68060`] [6.0.0]]
- [[`__mc68060`] [6.0.0]]
- [[`__mc68040__`] [4.0.0]]
- [[`mc68040`] [4.0.0]]
- [[`__mc68040`] [4.0.0]]
- [[`__mc68030__`] [3.0.0]]
- [[`mc68030`] [3.0.0]]
- [[`__mc68030`] [3.0.0]]
- [[`__mc68020__`] [2.0.0]]
- [[`mc68020`] [2.0.0]]
- [[`__mc68020`] [2.0.0]]
- [[`__mc68010__`] [1.0.0]]
- [[`mc68010`] [1.0.0]]
- [[`__mc68010`] [1.0.0]]
- [[`__mc68000__`] [0.0.1]]
- [[`mc68000`] [0.0.1]]
- [[`__mc68000`] [0.0.1]]
- ]
- */
+| `+__mc68060__+` | 6.0.0
+| `mc68060` | 6.0.0
+| `+__mc68060+` | 6.0.0
+| `+__mc68040__+` | 4.0.0
+| `mc68040` | 4.0.0
+| `+__mc68040+` | 4.0.0
+| `+__mc68030__+` | 3.0.0
+| `mc68030` | 3.0.0
+| `+__mc68030+` | 3.0.0
+| `+__mc68020__+` | 2.0.0
+| `mc68020` | 2.0.0
+| `+__mc68020+` | 2.0.0
+| `+__mc68010__+` | 1.0.0
+| `mc68010` | 1.0.0
+| `+__mc68010+` | 1.0.0
+| `+__mc68000__+` | 0.0.1
+| `mc68000` | 0.0.1
+| `+__mc68000+` | 0.0.1
+|===
+*/ // end::reference[]
#define BOOST_ARCH_M68K BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -74,6 +75,11 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_M68K_AVAILABLE
#endif
+#if BOOST_ARCH_M68K
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_M68K_NAME "Motorola 68k"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/mips.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/mips.h
index 0189d7dbd6..e35d23ab1d 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/mips.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/mips.h
@@ -11,30 +11,31 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_MIPS`]
+/* tag::reference[]
+= `BOOST_ARCH_MIPS`
-[@http://en.wikipedia.org/wiki/MIPS_architecture MIPS] architecture.
+http://en.wikipedia.org/wiki/MIPS_architecture[MIPS] architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__mips__`] [__predef_detection__]]
- [[`__mips`] [__predef_detection__]]
- [[`__MIPS__`] [__predef_detection__]]
+| `+__mips__+` | {predef_detection}
+| `+__mips+` | {predef_detection}
+| `+__MIPS__+` | {predef_detection}
- [[`__mips`] [V.0.0]]
- [[`_MIPS_ISA_MIPS1`] [1.0.0]]
- [[`_R3000`] [1.0.0]]
- [[`_MIPS_ISA_MIPS2`] [2.0.0]]
- [[`__MIPS_ISA2__`] [2.0.0]]
- [[`_R4000`] [2.0.0]]
- [[`_MIPS_ISA_MIPS3`] [3.0.0]]
- [[`__MIPS_ISA3__`] [3.0.0]]
- [[`_MIPS_ISA_MIPS4`] [4.0.0]]
- [[`__MIPS_ISA4__`] [4.0.0]]
- ]
- */
+| `+__mips+` | V.0.0
+| `+_MIPS_ISA_MIPS1+` | 1.0.0
+| `+_R3000+` | 1.0.0
+| `+_MIPS_ISA_MIPS2+` | 2.0.0
+| `+__MIPS_ISA2__+` | 2.0.0
+| `+_R4000+` | 2.0.0
+| `+_MIPS_ISA_MIPS3+` | 3.0.0
+| `+__MIPS_ISA3__+` | 3.0.0
+| `+_MIPS_ISA_MIPS4+` | 4.0.0
+| `+__MIPS_ISA4__+` | 4.0.0
+|===
+*/ // end::reference[]
#define BOOST_ARCH_MIPS BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -65,6 +66,16 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_MIPS_AVAILABLE
#endif
+#if BOOST_ARCH_MIPS
+# if BOOST_ARCH_MIPS >= BOOST_VERSION_NUMBER(3,0,0)
+# undef BOOST_ARCH_WORD_BITS_64
+# define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
+# else
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+# endif
+#endif
+
#define BOOST_ARCH_MIPS_NAME "MIPS"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/parisc.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/parisc.h
index c75a1f3889..b93bfd9eba 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/parisc.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/parisc.h
@@ -11,28 +11,29 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_PARISC`]
+/* tag::reference[]
+= `BOOST_ARCH_PARISC`
-[@http://en.wikipedia.org/wiki/PA-RISC_family HP/PA RISC] architecture.
+http://en.wikipedia.org/wiki/PA-RISC_family[HP/PA RISC] architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__hppa__`] [__predef_detection__]]
- [[`__hppa`] [__predef_detection__]]
- [[`__HPPA__`] [__predef_detection__]]
+| `+__hppa__+` | {predef_detection}
+| `+__hppa+` | {predef_detection}
+| `+__HPPA__+` | {predef_detection}
- [[`_PA_RISC1_0`] [1.0.0]]
- [[`_PA_RISC1_1`] [1.1.0]]
- [[`__HPPA11__`] [1.1.0]]
- [[`__PA7100__`] [1.1.0]]
- [[`_PA_RISC2_0`] [2.0.0]]
- [[`__RISC2_0__`] [2.0.0]]
- [[`__HPPA20__`] [2.0.0]]
- [[`__PA8000__`] [2.0.0]]
- ]
- */
+| `+_PA_RISC1_0+` | 1.0.0
+| `+_PA_RISC1_1+` | 1.1.0
+| `+__HPPA11__+` | 1.1.0
+| `+__PA7100__+` | 1.1.0
+| `+_PA_RISC2_0+` | 2.0.0
+| `+__RISC2_0__+` | 2.0.0
+| `+__HPPA20__+` | 2.0.0
+| `+__PA8000__+` | 2.0.0
+|===
+*/ // end::reference[]
#define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -56,6 +57,11 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_PARISC_AVAILABLE
#endif
+#if BOOST_ARCH_PARISC
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_PARISC_NAME "HP/PA RISC"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/ppc.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/ppc.h
index e8c57c91f2..73d99f33b4 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/ppc.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/ppc.h
@@ -11,40 +11,49 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_PPC`]
-
-[@http://en.wikipedia.org/wiki/PowerPC PowerPC] architecture.
-
-[table
- [[__predef_symbol__] [__predef_version__]]
-
- [[`__powerpc`] [__predef_detection__]]
- [[`__powerpc__`] [__predef_detection__]]
- [[`__POWERPC__`] [__predef_detection__]]
- [[`__ppc__`] [__predef_detection__]]
- [[`_M_PPC`] [__predef_detection__]]
- [[`_ARCH_PPC`] [__predef_detection__]]
- [[`__PPCGECKO__`] [__predef_detection__]]
- [[`__PPCBROADWAY__`] [__predef_detection__]]
- [[`_XENON`] [__predef_detection__]]
-
- [[`__ppc601__`] [6.1.0]]
- [[`_ARCH_601`] [6.1.0]]
- [[`__ppc603__`] [6.3.0]]
- [[`_ARCH_603`] [6.3.0]]
- [[`__ppc604__`] [6.4.0]]
- [[`__ppc604__`] [6.4.0]]
- ]
- */
+/* tag::reference[]
+= `BOOST_ARCH_PPC`
+
+http://en.wikipedia.org/wiki/PowerPC[PowerPC] architecture.
+
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
+
+| `+__powerpc+` | {predef_detection}
+| `+__powerpc__+` | {predef_detection}
+| `+__powerpc64__+` | {predef_detection}
+| `+__POWERPC__+` | {predef_detection}
+| `+__ppc__+` | {predef_detection}
+| `+__ppc64__+` | {predef_detection}
+| `+__PPC__+` | {predef_detection}
+| `+__PPC64__+` | {predef_detection}
+| `+_M_PPC+` | {predef_detection}
+| `+_ARCH_PPC+` | {predef_detection}
+| `+_ARCH_PPC64+` | {predef_detection}
+| `+__PPCGECKO__+` | {predef_detection}
+| `+__PPCBROADWAY__+` | {predef_detection}
+| `+_XENON+` | {predef_detection}
+| `+__ppc+` | {predef_detection}
+
+| `+__ppc601__+` | 6.1.0
+| `+_ARCH_601+` | 6.1.0
+| `+__ppc603__+` | 6.3.0
+| `+_ARCH_603+` | 6.3.0
+| `+__ppc604__+` | 6.4.0
+| `+__ppc604__+` | 6.4.0
+|===
+*/ // end::reference[]
#define BOOST_ARCH_PPC BOOST_VERSION_NUMBER_NOT_AVAILABLE
-#if defined(__powerpc) || defined(__powerpc__) || \
- defined(__POWERPC__) || defined(__ppc__) || \
- defined(_M_PPC) || defined(_ARCH_PPC) || \
+#if defined(__powerpc) || defined(__powerpc__) || defined(__powerpc64__) || \
+ defined(__POWERPC__) || defined(__ppc__) || defined(__ppc64__) || \
+ defined(__PPC__) || defined(__PPC64__) || \
+ defined(_M_PPC) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \
defined(__PPCGECKO__) || defined(__PPCBROADWAY__) || \
- defined(_XENON)
+ defined(_XENON) || \
+ defined(__ppc)
# undef BOOST_ARCH_PPC
# if !defined (BOOST_ARCH_PPC) && (defined(__ppc601__) || defined(_ARCH_601))
# define BOOST_ARCH_PPC BOOST_VERSION_NUMBER(6,1,0)
@@ -66,7 +75,50 @@ http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_ARCH_PPC_NAME "PowerPC"
+
+/* tag::reference[]
+= `BOOST_ARCH_PPC_64`
+
+http://en.wikipedia.org/wiki/PowerPC[PowerPC] 64 bit architecture.
+
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
+
+| `+__powerpc64__+` | {predef_detection}
+| `+__ppc64__+` | {predef_detection}
+| `+__PPC64__+` | {predef_detection}
+| `+_ARCH_PPC64+` | {predef_detection}
+|===
+*/ // end::reference[]
+
+#define BOOST_ARCH_PPC_64 BOOST_VERSION_NUMBER_NOT_AVAILABLE
+
+#if defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__) || \
+ defined(_ARCH_PPC64)
+# undef BOOST_ARCH_PPC_64
+# define BOOST_ARCH_PPC_64 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
+#if BOOST_ARCH_PPC_64
+# define BOOST_ARCH_PPC_64_AVAILABLE
+#endif
+
+#define BOOST_ARCH_PPC_64_NAME "PowerPC64"
+
+
+#if BOOST_ARCH_PPC_64
+# undef BOOST_ARCH_WORD_BITS_64
+# define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
+#else
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_PPC,BOOST_ARCH_PPC_NAME)
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_PPC_64,BOOST_ARCH_PPC_64_NAME)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/ptx.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/ptx.h
new file mode 100644
index 0000000000..7737213610
--- /dev/null
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/ptx.h
@@ -0,0 +1,50 @@
+/*
+Copyright Benjamin Worpitz 2018
+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)
+*/
+
+#ifndef BOOST_PREDEF_ARCHITECTURE_PTX_H
+#define BOOST_PREDEF_ARCHITECTURE_PTX_H
+
+#include <boost/predef/version_number.h>
+#include <boost/predef/make.h>
+
+/* tag::reference[]
+= `BOOST_ARCH_PTX`
+
+https://en.wikipedia.org/wiki/Parallel_Thread_Execution[PTX] architecture.
+
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
+
+| `+__CUDA_ARCH__+` | {predef_detection}
+
+| `+__CUDA_ARCH__+` | V.R.0
+|===
+*/ // end::reference[]
+
+#define BOOST_ARCH_PTX BOOST_VERSION_NUMBER_NOT_AVAILABLE
+
+#if defined(__CUDA_ARCH__)
+# undef BOOST_ARCH_PTX
+# define BOOST_ARCH_PTX BOOST_PREDEF_MAKE_10_VR0(__CUDA_ARCH__)
+#endif
+
+#if BOOST_ARCH_PTX
+# define BOOST_ARCH_PTX_AVAILABLE
+#endif
+
+#if BOOST_ARCH_PTX
+# undef BOOST_ARCH_WORD_BITS_64
+# define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
+#define BOOST_ARCH_PTX_NAME "PTX"
+
+#endif
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_PTX,BOOST_ARCH_PTX_NAME)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/pyramid.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/pyramid.h
index 4f13253807..40c5359bf5 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/pyramid.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/pyramid.h
@@ -11,17 +11,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_PYRAMID`]
+/* tag::reference[]
+= `BOOST_ARCH_PYRAMID`
Pyramid 9810 architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`pyr`] [__predef_detection__]]
- ]
- */
+| `pyr` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_ARCH_PYRAMID BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -34,6 +35,11 @@ Pyramid 9810 architecture.
# define BOOST_ARCH_PYRAMID_AVAILABLE
#endif
+#if BOOST_ARCH_PYRAMID
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_PYRAMID_NAME "Pyramid 9810"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/riscv.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/riscv.h
new file mode 100644
index 0000000000..8b819d77ee
--- /dev/null
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/riscv.h
@@ -0,0 +1,48 @@
+/*
+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)
+*/
+
+#ifndef BOOST_PREDEF_ARCHITECTURE_RISCV_H
+#define BOOST_PREDEF_ARCHITECTURE_RISCV_H
+
+#include <boost/predef/version_number.h>
+#include <boost/predef/make.h>
+
+/* tag::reference[]
+= `BOOST_ARCH_RISCV`
+
+http://en.wikipedia.org/wiki/RISC-V[RISC-V] architecture.
+
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
+
+| `+__riscv+` | {predef_detection}
+|===
+*/ // end::reference[]
+
+#define BOOST_ARCH_RISCV BOOST_VERSION_NUMBER_NOT_AVAILABLE
+
+#if defined(__riscv)
+# undef BOOST_ARCH_RISCV
+# define BOOST_ARCH_RISCV BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
+#if BOOST_ARCH_RISCV
+# define BOOST_ARCH_RISCV_AVAILABLE
+#endif
+
+#if BOOST_ARCH_RISCV
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
+#define BOOST_ARCH_RISCV_NAME "RISC-V"
+
+#endif
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_RISCV,BOOST_ARCH_RISCV_NAME)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/rs6k.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/rs6k.h
index 8a6e9b6b53..1c6d987ddd 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/rs6k.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/rs6k.h
@@ -11,21 +11,22 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_RS6000`]
+/* tag::reference[]
+= `BOOST_ARCH_RS6000`
-[@http://en.wikipedia.org/wiki/RS/6000 RS/6000] architecture.
+http://en.wikipedia.org/wiki/RS/6000[RS/6000] architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__THW_RS6000`] [__predef_detection__]]
- [[`_IBMR2`] [__predef_detection__]]
- [[`_POWER`] [__predef_detection__]]
- [[`_ARCH_PWR`] [__predef_detection__]]
- [[`_ARCH_PWR2`] [__predef_detection__]]
- ]
- */
+| `+__THW_RS6000+` | {predef_detection}
+| `+_IBMR2+` | {predef_detection}
+| `+_POWER+` | {predef_detection}
+| `+_ARCH_PWR+` | {predef_detection}
+| `+_ARCH_PWR2+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -40,6 +41,11 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_RS6000_AVAILABLE
#endif
+#if BOOST_ARCH_RS6000
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_RS6000_NAME "RS/6000"
#define BOOST_ARCH_PWR BOOST_ARCH_RS6000
@@ -48,6 +54,11 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_PWR_AVAILABLE
#endif
+#if BOOST_ARCH_PWR
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_PWR_NAME BOOST_ARCH_RS6000_NAME
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/sparc.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/sparc.h
index a89a5100b8..d01605e8a2 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/sparc.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/sparc.h
@@ -11,30 +11,33 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_SPARC`]
+/* tag::reference[]
+= `BOOST_ARCH_SPARC`
-[@http://en.wikipedia.org/wiki/SPARC SPARC] architecture.
+http://en.wikipedia.org/wiki/SPARC[SPARC] architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__sparc__`] [__predef_detection__]]
- [[`__sparc`] [__predef_detection__]]
+| `+__sparc__+` | {predef_detection}
+| `+__sparc+` | {predef_detection}
- [[`__sparcv9`] [9.0.0]]
- [[`__sparcv8`] [8.0.0]]
- ]
- */
+| `+__sparcv9+` | 9.0.0
+| `+__sparc_v9__+` | 9.0.0
+| `+__sparcv8+` | 8.0.0
+| `+__sparc_v8__+` | 8.0.0
+|===
+*/ // end::reference[]
#define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__sparc__) || defined(__sparc)
# undef BOOST_ARCH_SPARC
-# if !defined(BOOST_ARCH_SPARC) && defined(__sparcv9)
+# if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv9) || defined(__sparc_v9__))
# define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(9,0,0)
# endif
-# if !defined(BOOST_ARCH_SPARC) && defined(__sparcv8)
+# if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv8) || defined(__sparc_v8__))
# define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(8,0,0)
# endif
# if !defined(BOOST_ARCH_SPARC)
@@ -46,6 +49,16 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_SPARC_AVAILABLE
#endif
+#if BOOST_ARCH_SPARC
+# if BOOST_ARCH_SPARC >= BOOST_VERSION_NUMBER(9,0,0)
+# undef BOOST_ARCH_WORD_BITS_64
+# define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
+# else
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+# endif
+#endif
+
#define BOOST_ARCH_SPARC_NAME "SPARC"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/superh.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/superh.h
index da0529e5e0..f72dc8b197 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/superh.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/superh.h
@@ -11,25 +11,26 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_SH`]
+/* tag::reference[]
+= `BOOST_ARCH_SH`
-[@http://en.wikipedia.org/wiki/SuperH SuperH] architecture:
-If available versions \[1-5\] are specifically detected.
+http://en.wikipedia.org/wiki/SuperH[SuperH] architecture:
+If available versions [1-5] are specifically detected.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__sh__`] [__predef_detection__]]
+| `+__sh__+` | {predef_detection}
- [[`__SH5__`] [5.0.0]]
- [[`__SH4__`] [4.0.0]]
- [[`__sh3__`] [3.0.0]]
- [[`__SH3__`] [3.0.0]]
- [[`__sh2__`] [2.0.0]]
- [[`__sh1__`] [1.0.0]]
- ]
- */
+| `+__SH5__+` | 5.0.0
+| `+__SH4__+` | 4.0.0
+| `+__sh3__+` | 3.0.0
+| `+__SH3__+` | 3.0.0
+| `+__sh2__+` | 2.0.0
+| `+__sh1__+` | 1.0.0
+|===
+*/ // end::reference[]
#define BOOST_ARCH_SH BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -59,6 +60,19 @@ If available versions \[1-5\] are specifically detected.
# define BOOST_ARCH_SH_AVAILABLE
#endif
+#if BOOST_ARCH_SH
+# if BOOST_ARCH_SH >= BOOST_VERSION_NUMBER(5,0,0)
+# undef BOOST_ARCH_WORD_BITS_64
+# define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
+# elif BOOST_ARCH_SH >= BOOST_VERSION_NUMBER(3,0,0)
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+# else
+# undef BOOST_ARCH_WORD_BITS_16
+# define BOOST_ARCH_WORD_BITS_16 BOOST_VERSION_NUMBER_AVAILABLE
+# endif
+#endif
+
#define BOOST_ARCH_SH_NAME "SuperH"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/sys370.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/sys370.h
index cfd85dc803..5500d253de 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/sys370.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/sys370.h
@@ -11,18 +11,19 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_SYS370`]
+/* tag::reference[]
+= `BOOST_ARCH_SYS370`
-[@http://en.wikipedia.org/wiki/System/370 System/370] architecture.
+http://en.wikipedia.org/wiki/System/370[System/370] architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__370__`] [__predef_detection__]]
- [[`__THW_370__`] [__predef_detection__]]
- ]
- */
+| `+__370__+` | {predef_detection}
+| `+__THW_370__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_ARCH_SYS370 BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -35,6 +36,11 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_SYS370_AVAILABLE
#endif
+#if BOOST_ARCH_SYS370
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_SYS370_NAME "System/370"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/sys390.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/sys390.h
index 47aff6acd6..9aba568586 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/sys390.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/sys390.h
@@ -11,18 +11,19 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_SYS390`]
+/* tag::reference[]
+= `BOOST_ARCH_SYS390`
-[@http://en.wikipedia.org/wiki/System/390 System/390] architecture.
+http://en.wikipedia.org/wiki/System/390[System/390] architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__s390__`] [__predef_detection__]]
- [[`__s390x__`] [__predef_detection__]]
- ]
- */
+| `+__s390__+` | {predef_detection}
+| `+__s390x__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_ARCH_SYS390 BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -35,6 +36,11 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_SYS390_AVAILABLE
#endif
+#if BOOST_ARCH_SYS390
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_SYS390_NAME "System/390"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/x86.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/x86.h
index 0ef3ef45ef..9827ef3ab5 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/x86.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/x86.h
@@ -11,13 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PREDEF_ARCHITECTURE_X86_H
#define BOOST_PREDEF_ARCHITECTURE_X86_H
-/*`
-[heading `BOOST_ARCH_X86`]
+/* tag::reference[]
+= `BOOST_ARCH_X86`
-[@http://en.wikipedia.org/wiki/X86 Intel x86] architecture. This is
+http://en.wikipedia.org/wiki/X86[Intel x86] architecture. This is
a category to indicate that either `BOOST_ARCH_X86_32` or
`BOOST_ARCH_X86_64` is detected.
- */
+*/ // end::reference[]
#define BOOST_ARCH_X86 BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/x86/32.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/x86/32.h
index 17fbff554a..b20fed9d10 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/x86/32.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/x86/32.h
@@ -11,35 +11,36 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_X86_32`]
+/* tag::reference[]
+= `BOOST_ARCH_X86_32`
-[@http://en.wikipedia.org/wiki/X86 Intel x86] architecture:
-If available versions \[3-6\] are specifically detected.
+http://en.wikipedia.org/wiki/X86[Intel x86] architecture:
+If available versions [3-6] are specifically detected.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`i386`] [__predef_detection__]]
- [[`__i386__`] [__predef_detection__]]
- [[`__i486__`] [__predef_detection__]]
- [[`__i586__`] [__predef_detection__]]
- [[`__i686__`] [__predef_detection__]]
- [[`__i386`] [__predef_detection__]]
- [[`_M_IX86`] [__predef_detection__]]
- [[`_X86_`] [__predef_detection__]]
- [[`__THW_INTEL__`] [__predef_detection__]]
- [[`__I86__`] [__predef_detection__]]
- [[`__INTEL__`] [__predef_detection__]]
+| `i386` | {predef_detection}
+| `+__i386__+` | {predef_detection}
+| `+__i486__+` | {predef_detection}
+| `+__i586__+` | {predef_detection}
+| `+__i686__+` | {predef_detection}
+| `+__i386+` | {predef_detection}
+| `+_M_IX86+` | {predef_detection}
+| `+_X86_+` | {predef_detection}
+| `+__THW_INTEL__+` | {predef_detection}
+| `+__I86__+` | {predef_detection}
+| `+__INTEL__+` | {predef_detection}
- [[`__I86__`] [V.0.0]]
- [[`_M_IX86`] [V.0.0]]
- [[`__i686__`] [6.0.0]]
- [[`__i586__`] [5.0.0]]
- [[`__i486__`] [4.0.0]]
- [[`__i386__`] [3.0.0]]
- ]
- */
+| `+__I86__+` | V.0.0
+| `+_M_IX86+` | V.0.0
+| `+__i686__+` | 6.0.0
+| `+__i586__+` | 5.0.0
+| `+__i486__+` | 4.0.0
+| `+__i386__+` | 3.0.0
+|===
+*/ // end::reference[]
#define BOOST_ARCH_X86_32 BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -77,6 +78,11 @@ If available versions \[3-6\] are specifically detected.
# define BOOST_ARCH_X86_32_AVAILABLE
#endif
+#if BOOST_ARCH_X86_32
+# undef BOOST_ARCH_WORD_BITS_32
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_X86_32_NAME "Intel x86-32"
#include <boost/predef/architecture/x86.h>
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/x86/64.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/x86/64.h
index f761c92596..6f59722b36 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/x86/64.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/x86/64.h
@@ -1,5 +1,5 @@
/*
-Copyright Rene Rivera 2008-2015
+Copyright Rene Rivera 2008-2021
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)
@@ -11,21 +11,22 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_X86_64`]
+/* tag::reference[]
+= `BOOST_ARCH_X86_64`
-[@http://en.wikipedia.org/wiki/Ia64 Intel IA-64] architecture.
+https://en.wikipedia.org/wiki/X86-64[X86-64] architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__x86_64`] [__predef_detection__]]
- [[`__x86_64__`] [__predef_detection__]]
- [[`__amd64__`] [__predef_detection__]]
- [[`__amd64`] [__predef_detection__]]
- [[`_M_X64`] [__predef_detection__]]
- ]
- */
+| `+__x86_64+` | {predef_detection}
+| `+__x86_64__+` | {predef_detection}
+| `+__amd64__+` | {predef_detection}
+| `+__amd64+` | {predef_detection}
+| `+_M_X64+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_ARCH_X86_64 BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -40,6 +41,11 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_X86_64_AVAILABLE
#endif
+#if BOOST_ARCH_X86_64
+# undef BOOST_ARCH_WORD_BITS_64
+# define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_X86_64_NAME "Intel x86-64"
#include <boost/predef/architecture/x86.h>
diff --git a/contrib/restricted/boost/predef/include/boost/predef/architecture/z.h b/contrib/restricted/boost/predef/include/boost/predef/architecture/z.h
index 3d218aa264..a5f79796ca 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/architecture/z.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/architecture/z.h
@@ -11,17 +11,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_ARCH_Z`]
+/* tag::reference[]
+= `BOOST_ARCH_Z`
-[@http://en.wikipedia.org/wiki/Z/Architecture z/Architecture] architecture.
+http://en.wikipedia.org/wiki/Z/Architecture[z/Architecture] architecture.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__SYSC_ZARCH__`] [__predef_detection__]]
- ]
- */
+| `+__SYSC_ZARCH__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_ARCH_Z BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -34,6 +35,11 @@ http://www.boost.org/LICENSE_1_0.txt)
# define BOOST_ARCH_Z_AVAILABLE
#endif
+#if BOOST_ARCH_Z
+# undef BOOST_ARCH_WORD_BITS_64
+# define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
#define BOOST_ARCH_Z_NAME "z/Architecture"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler.h b/contrib/restricted/boost/predef/include/boost/predef/compiler.h
index 61a4c527ab..de1b4ab573 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler.h
@@ -32,6 +32,7 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/compiler/metrowerks.h>
#include <boost/predef/compiler/microtec.h>
#include <boost/predef/compiler/mpw.h>
+#include <boost/predef/compiler/nvcc.h>
#include <boost/predef/compiler/palm.h>
#include <boost/predef/compiler/pgi.h>
#include <boost/predef/compiler/sgi_mipspro.h>
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/borland.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/borland.h
index 3677cca7fd..64daf909ba 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/borland.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/borland.h
@@ -11,22 +11,23 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_BORLAND`]
+/* tag::reference[]
+= `BOOST_COMP_BORLAND`
-[@http://en.wikipedia.org/wiki/C_plus_plus_builder Borland C++] compiler.
+http://en.wikipedia.org/wiki/C_plus_plus_builder[Borland {CPP}] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__BORLANDC__`] [__predef_detection__]]
- [[`__CODEGEARC__`] [__predef_detection__]]
+| `+__BORLANDC__+` | {predef_detection}
+| `+__CODEGEARC__+` | {predef_detection}
- [[`__BORLANDC__`] [V.R.P]]
- [[`__CODEGEARC__`] [V.R.P]]
- ]
- */
+| `+__BORLANDC__+` | V.R.P
+| `+__CODEGEARC__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_BORLAND BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/clang.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/clang.h
index 56678fe6a5..5e62da256b 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/clang.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/clang.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_CLANG`]
+/* tag::reference[]
+= `BOOST_COMP_CLANG`
-[@http://en.wikipedia.org/wiki/Clang Clang] compiler.
+http://en.wikipedia.org/wiki/Clang[Clang] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__clang__`] [__predef_detection__]]
+| `+__clang__+` | {predef_detection}
- [[`__clang_major__`, `__clang_minor__`, `__clang_patchlevel__`] [V.R.P]]
- ]
- */
+| `+__clang_major__+`, `+__clang_minor__+`, `+__clang_patchlevel__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_CLANG BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/comeau.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/comeau.h
index 15a4564896..749694d072 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/comeau.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/comeau.h
@@ -13,20 +13,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_COMP_COMO BOOST_VERSION_NUMBER_NOT_AVAILABLE
-/*`
-[heading `BOOST_COMP_COMO`]
+/* tag::reference[]
+= `BOOST_COMP_COMO`
-[@http://en.wikipedia.org/wiki/Comeau_C/C%2B%2B Comeau C++] compiler.
+http://en.wikipedia.org/wiki/Comeau_C/C%2B%2B[Comeau {CPP}] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__COMO__`] [__predef_detection__]]
+| `+__COMO__+` | {predef_detection}
- [[`__COMO_VERSION__`] [V.R.P]]
- ]
- */
+| `+__COMO_VERSION__+` | V.R.P
+|===
+*/ // end::reference[]
#if defined(__COMO__)
# if !defined(BOOST_COMP_COMO_DETECTION) && defined(__COMO_VERSION__)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/compaq.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/compaq.h
index 96a79e6756..a2a403ff28 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/compaq.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/compaq.h
@@ -11,22 +11,23 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_DEC`]
+/* tag::reference[]
+= `BOOST_COMP_DEC`
-[@http://www.openvms.compaq.com/openvms/brochures/deccplus/ Compaq C/C++] compiler.
+http://www.openvms.compaq.com/openvms/brochures/deccplus/[Compaq C/{CPP}] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__DECCXX`] [__predef_detection__]]
- [[`__DECC`] [__predef_detection__]]
+| `+__DECCXX+` | {predef_detection}
+| `+__DECC+` | {predef_detection}
- [[`__DECCXX_VER`] [V.R.P]]
- [[`__DECC_VER`] [V.R.P]]
- ]
- */
+| `+__DECCXX_VER+` | V.R.P
+| `+__DECC_VER+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_DEC BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -38,7 +39,7 @@ Version number available as major, minor, and patch.
# define BOOST_COMP_DEC_DETECTION BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECC_VER)
# endif
# if !defined(BOOST_COMP_DEC_DETECTION)
-# define BOOST_COM_DEC_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
+# define BOOST_COMP_DEC_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/diab.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/diab.h
index f5a37de7d3..9be1d1aee0 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/diab.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/diab.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_DIAB`]
+/* tag::reference[]
+= `BOOST_COMP_DIAB`
-[@http://www.windriver.com/products/development_suite/wind_river_compiler/ Diab C/C++] compiler.
+http://www.windriver.com/products/development_suite/wind_river_compiler/[Diab C/{CPP}] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__DCC__`] [__predef_detection__]]
+| `+__DCC__+` | {predef_detection}
- [[`__VERSION_NUMBER__`] [V.R.P]]
- ]
- */
+| `+__VERSION_NUMBER__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_DIAB BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/digitalmars.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/digitalmars.h
index 9bd58502e0..3b2d53f719 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/digitalmars.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/digitalmars.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_DMC`]
+/* tag::reference[]
+= `BOOST_COMP_DMC`
-[@http://en.wikipedia.org/wiki/Digital_Mars Digital Mars] compiler.
+http://en.wikipedia.org/wiki/Digital_Mars[Digital Mars] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__DMC__`] [__predef_detection__]]
+| `+__DMC__+` | {predef_detection}
- [[`__DMC__`] [V.R.P]]
- ]
- */
+| `+__DMC__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_DMC BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/dignus.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/dignus.h
index c65d3dc764..8177cc76ee 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/dignus.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/dignus.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_SYSC`]
+/* tag::reference[]
+= `BOOST_COMP_SYSC`
-[@http://www.dignus.com/dcxx/ Dignus Systems/C++] compiler.
+http://www.dignus.com/dcxx/[Dignus Systems/{CPP}] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__SYSC__`] [__predef_detection__]]
+| `+__SYSC__+` | {predef_detection}
- [[`__SYSC_VER__`] [V.R.P]]
- ]
- */
+| `+__SYSC_VER__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_SYSC BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/edg.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/edg.h
index 2ffb9b0a6d..6e0f97a2bb 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/edg.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/edg.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_EDG`]
+/* tag::reference[]
+= `BOOST_COMP_EDG`
-[@http://en.wikipedia.org/wiki/Edison_Design_Group EDG C++ Frontend] compiler.
+http://en.wikipedia.org/wiki/Edison_Design_Group[EDG {CPP} Frontend] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__EDG__`] [__predef_detection__]]
+| `+__EDG__+` | {predef_detection}
- [[`__EDG_VERSION__`] [V.R.0]]
- ]
- */
+| `+__EDG_VERSION__+` | V.R.0
+|===
+*/ // end::reference[]
#define BOOST_COMP_EDG BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/ekopath.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/ekopath.h
index e5cde36752..f91c9dceff 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/ekopath.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/ekopath.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_PATH`]
+/* tag::reference[]
+= `BOOST_COMP_PATH`
-[@http://en.wikipedia.org/wiki/PathScale EKOpath] compiler.
+http://en.wikipedia.org/wiki/PathScale[EKOpath] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__PATHCC__`] [__predef_detection__]]
+| `+__PATHCC__+` | {predef_detection}
- [[`__PATHCC__`, `__PATHCC_MINOR__`, `__PATHCC_PATCHLEVEL__`] [V.R.P]]
- ]
- */
+| `+__PATHCC__+`, `+__PATHCC_MINOR__+`, `+__PATHCC_PATCHLEVEL__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_PATH BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/gcc.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/gcc.h
index c2d7fff178..88698d21e9 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/gcc.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/gcc.h
@@ -15,21 +15,22 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_GNUC`]
+/* tag::reference[]
+= `BOOST_COMP_GNUC`
-[@http://en.wikipedia.org/wiki/GNU_Compiler_Collection Gnu GCC C/C++] compiler.
+http://en.wikipedia.org/wiki/GNU_Compiler_Collection[Gnu GCC C/{CPP}] compiler.
Version number available as major, minor, and patch (if available).
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__GNUC__`] [__predef_detection__]]
+| `+__GNUC__+` | {predef_detection}
- [[`__GNUC__`, `__GNUC_MINOR__`, `__GNUC_PATCHLEVEL__`] [V.R.P]]
- [[`__GNUC__`, `__GNUC_MINOR__`] [V.R.0]]
- ]
- */
+| `+__GNUC__+`, `+__GNUC_MINOR__+`, `+__GNUC_PATCHLEVEL__+` | V.R.P
+| `+__GNUC__+`, `+__GNUC_MINOR__+` | V.R.0
+|===
+*/ // end::reference[]
#define BOOST_COMP_GNUC BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/gcc_xml.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/gcc_xml.h
index acae600c81..a925337012 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/gcc_xml.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/gcc_xml.h
@@ -11,17 +11,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_GCCXML`]
+/* tag::reference[]
+= `BOOST_COMP_GCCXML`
-[@http://www.gccxml.org/ GCC XML] compiler.
+http://www.gccxml.org/[GCC XML] compiler.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__GCCXML__`] [__predef_detection__]]
- ]
- */
+| `+__GCCXML__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_COMP_GCCXML BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/greenhills.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/greenhills.h
index 23b8f017d8..9bf5bf17ba 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/greenhills.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/greenhills.h
@@ -11,22 +11,23 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_GHS`]
+/* tag::reference[]
+= `BOOST_COMP_GHS`
-[@http://en.wikipedia.org/wiki/Green_Hills_Software Green Hills C/C++] compiler.
+http://en.wikipedia.org/wiki/Green_Hills_Software[Green Hills C/{CPP}] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__ghs`] [__predef_detection__]]
- [[`__ghs__`] [__predef_detection__]]
+| `+__ghs+` | {predef_detection}
+| `+__ghs__+` | {predef_detection}
- [[`__GHS_VERSION_NUMBER__`] [V.R.P]]
- [[`__ghs`] [V.R.P]]
- ]
- */
+| `+__GHS_VERSION_NUMBER__+` | V.R.P
+| `+__ghs+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_GHS BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/hp_acc.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/hp_acc.h
index 7b3ffe9068..7a825cd51f 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/hp_acc.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/hp_acc.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_HPACC`]
+/* tag::reference[]
+= `BOOST_COMP_HPACC`
-HP aC++ compiler.
+HP a{CPP} compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__HP_aCC`] [__predef_detection__]]
+| `+__HP_aCC+` | {predef_detection}
- [[`__HP_aCC`] [V.R.P]]
- ]
- */
+| `+__HP_aCC+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_HPACC BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/iar.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/iar.h
index 237f492e29..1140b0b4dd 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/iar.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/iar.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_IAR`]
+/* tag::reference[]
+= `BOOST_COMP_IAR`
-IAR C/C++ compiler.
+IAR C/{CPP} compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__IAR_SYSTEMS_ICC__`] [__predef_detection__]]
+| `+__IAR_SYSTEMS_ICC__+` | {predef_detection}
- [[`__VER__`] [V.R.P]]
- ]
- */
+| `+__VER__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_IAR BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/ibm.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/ibm.h
index 6931ebd884..6820677f90 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/ibm.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/ibm.h
@@ -11,25 +11,26 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_IBM`]
+/* tag::reference[]
+= `BOOST_COMP_IBM`
-[@http://en.wikipedia.org/wiki/VisualAge IBM XL C/C++] compiler.
+http://en.wikipedia.org/wiki/VisualAge[IBM XL C/{CPP}] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__IBMCPP__`] [__predef_detection__]]
- [[`__xlC__`] [__predef_detection__]]
- [[`__xlc__`] [__predef_detection__]]
+| `+__IBMCPP__+` | {predef_detection}
+| `+__xlC__+` | {predef_detection}
+| `+__xlc__+` | {predef_detection}
- [[`__COMPILER_VER__`] [V.R.P]]
- [[`__xlC__`] [V.R.P]]
- [[`__xlc__`] [V.R.P]]
- [[`__IBMCPP__`] [V.R.P]]
- ]
- */
+| `+__COMPILER_VER__+` | V.R.P
+| `+__xlC__+` | V.R.P
+| `+__xlc__+` | V.R.P
+| `+__IBMCPP__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_IBM BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/intel.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/intel.h
index f8a17ef437..62d510ab62 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/intel.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/intel.h
@@ -11,33 +11,34 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_INTEL`]
+/* tag::reference[]
+= `BOOST_COMP_INTEL`
-[@http://en.wikipedia.org/wiki/Intel_C%2B%2B Intel C/C++] compiler.
+http://en.wikipedia.org/wiki/Intel_C%2B%2B[Intel C/{CPP}] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__INTEL_COMPILER`] [__predef_detection__]]
- [[`__ICL`] [__predef_detection__]]
- [[`__ICC`] [__predef_detection__]]
- [[`__ECC`] [__predef_detection__]]
+| `+__INTEL_COMPILER+` | {predef_detection}
+| `+__ICL+` | {predef_detection}
+| `+__ICC+` | {predef_detection}
+| `+__ECC+` | {predef_detection}
- [[`__INTEL_COMPILER`] [V.R]]
- [[`__INTEL_COMPILER` and `__INTEL_COMPILER_UPDATE`] [V.R.P]]
- ]
- */
+| `+__INTEL_COMPILER+` | V.R
+| `+__INTEL_COMPILER+` and `+__INTEL_COMPILER_UPDATE+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_INTEL BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \
defined(__ECC)
-/*`
-[note Because of an Intel mistake in the release version numbering when
-`__INTEL_COMPILER` is `9999` it is detected as version 12.1.0.]
- */
+/* tag::reference[]
+NOTE: Because of an Intel mistake in the release version numbering when
+`__INTEL_COMPILER` is `9999` it is detected as version 12.1.0.
+*/ // end::reference[]
# if !defined(BOOST_COMP_INTEL_DETECTION) && defined(__INTEL_COMPILER) && (__INTEL_COMPILER == 9999)
# define BOOST_COMP_INTEL_DETECTION BOOST_VERSION_NUMBER(12,1,0)
# endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/kai.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/kai.h
index 68ce84e146..1980cc8406 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/kai.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/kai.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_KCC`]
+/* tag::reference[]
+= `BOOST_COMP_KCC`
-Kai C++ compiler.
+Kai {CPP} compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__KCC`] [__predef_detection__]]
+| `+__KCC+` | {predef_detection}
- [[`__KCC_VERSION`] [V.R.P]]
- ]
- */
+| `+__KCC_VERSION+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_KCC BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/llvm.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/llvm.h
index de654eb8ce..09f2b8044b 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/llvm.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/llvm.h
@@ -15,17 +15,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_LLVM`]
+/* tag::reference[]
+= `BOOST_COMP_LLVM`
-[@http://en.wikipedia.org/wiki/LLVM LLVM] compiler.
+http://en.wikipedia.org/wiki/LLVM[LLVM] compiler.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__llvm__`] [__predef_detection__]]
- ]
- */
+| `+__llvm__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_COMP_LLVM BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/metaware.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/metaware.h
index 1a32039cef..e210943d77 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/metaware.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/metaware.h
@@ -11,17 +11,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_HIGHC`]
+/* tag::reference[]
+= `BOOST_COMP_HIGHC`
-MetaWare High C/C++ compiler.
+MetaWare High C/{CPP} compiler.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__HIGHC__`] [__predef_detection__]]
- ]
- */
+| `+__HIGHC__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_COMP_HIGHC BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/metrowerks.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/metrowerks.h
index f2d739b958..98cb751d29 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/metrowerks.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/metrowerks.h
@@ -11,24 +11,25 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_MWERKS`]
+/* tag::reference[]
+= `BOOST_COMP_MWERKS`
-[@http://en.wikipedia.org/wiki/CodeWarrior Metrowerks CodeWarrior] compiler.
+http://en.wikipedia.org/wiki/CodeWarrior[Metrowerks CodeWarrior] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__MWERKS__`] [__predef_detection__]]
- [[`__CWCC__`] [__predef_detection__]]
+| `+__MWERKS__+` | {predef_detection}
+| `+__CWCC__+` | {predef_detection}
- [[`__CWCC__`] [V.R.P]]
- [[`__MWERKS__`] [V.R.P >= 4.2.0]]
- [[`__MWERKS__`] [9.R.0]]
- [[`__MWERKS__`] [8.R.0]]
- ]
- */
+| `+__CWCC__+` | V.R.P
+| `+__MWERKS__+` | V.R.P >= 4.2.0
+| `+__MWERKS__+` | 9.R.0
+| `+__MWERKS__+` | 8.R.0
+|===
+*/ // end::reference[]
#define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/microtec.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/microtec.h
index 066a6d2ad9..93c7e91086 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/microtec.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/microtec.h
@@ -11,17 +11,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_MRI`]
+/* tag::reference[]
+= `BOOST_COMP_MRI`
-[@http://www.mentor.com/microtec/ Microtec C/C++] compiler.
+http://www.mentor.com/microtec/[Microtec C/{CPP}] compiler.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`_MRI`] [__predef_detection__]]
- ]
- */
+| `+_MRI+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_COMP_MRI BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/mpw.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/mpw.h
index 118330646e..963f756718 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/mpw.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/mpw.h
@@ -11,22 +11,23 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_MPW`]
+/* tag::reference[]
+= `BOOST_COMP_MPW`
-[@http://en.wikipedia.org/wiki/Macintosh_Programmer%27s_Workshop MPW C++] compiler.
+http://en.wikipedia.org/wiki/Macintosh_Programmer%27s_Workshop[MPW {CPP}] compiler.
Version number available as major, and minor.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__MRC__`] [__predef_detection__]]
- [[`MPW_C`] [__predef_detection__]]
- [[`MPW_CPLUS`] [__predef_detection__]]
+| `+__MRC__+` | {predef_detection}
+| `MPW_C` | {predef_detection}
+| `MPW_CPLUS` | {predef_detection}
- [[`__MRC__`] [V.R.0]]
- ]
- */
+| `+__MRC__+` | V.R.0
+|===
+*/ // end::reference[]
#define BOOST_COMP_MPW BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/nvcc.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/nvcc.h
new file mode 100644
index 0000000000..3690c53557
--- /dev/null
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/nvcc.h
@@ -0,0 +1,74 @@
+/*
+Copyright Benjamin Worpitz 2018
+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)
+*/
+
+#ifndef BOOST_PREDEF_COMPILER_NVCC_H
+#define BOOST_PREDEF_COMPILER_NVCC_H
+
+#include <boost/predef/version_number.h>
+#include <boost/predef/make.h>
+
+/* tag::reference[]
+= `BOOST_COMP_NVCC`
+
+https://en.wikipedia.org/wiki/NVIDIA_CUDA_Compiler[NVCC] compiler.
+Version number available as major, minor, and patch beginning with version 7.5.
+
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
+
+| `+__NVCC__+` | {predef_detection}
+
+| `+__CUDACC_VER_MAJOR__+`, `+__CUDACC_VER_MINOR__+`, `+__CUDACC_VER_BUILD__+` | V.R.P
+|===
+*/ // end::reference[]
+
+#define BOOST_COMP_NVCC BOOST_VERSION_NUMBER_NOT_AVAILABLE
+
+#if defined(__NVCC__)
+# if !defined(__CUDACC_VER_MAJOR__) || !defined(__CUDACC_VER_MINOR__) || !defined(__CUDACC_VER_BUILD__)
+# define BOOST_COMP_NVCC_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
+# else
+# define BOOST_COMP_NVCC_DETECTION BOOST_VERSION_NUMBER(__CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, __CUDACC_VER_BUILD__)
+# endif
+#endif
+
+#ifdef BOOST_COMP_NVCC_DETECTION
+/*
+Always define BOOST_COMP_NVCC instead of BOOST_COMP_NVCC_EMULATED
+The nvcc compilation process is somewhat special as can be read here:
+https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#cuda-compilation-trajectory
+The nvcc compiler precompiles the input two times. Once for the device code
+being compiled by the cicc device compiler and once for the host code
+compiled by the real host compiler. NVCC uses gcc/clang/msvc/...
+depending on the host compiler being set on the command line.
+
+Predef (as a preprocessor only lib) detects the one doing the preprocessing
+as compiler and expects it to be the one doing the real compilation.
+This is not true for NVCC which is only doing the preprocessing and which
+is using another compiler for parts of its work. So for NVCC it should be
+allowed to set BOOST_COMP_NVCC additionally to the already detected host
+compiler because both is true: It is gcc/clang/... compiling the code, but it
+is also NVCC doing the preprocessing and adding some other quirks you may
+want to detect.
+
+This behavior is similar to what boost config is doing in `select_compiler_config.hpp`.
+There the NVCC detection is not handled as a real compiler (part of the
+#if-#elif) but as additional option before the real compiler.
+*/
+# undef BOOST_COMP_NVCC
+# define BOOST_COMP_NVCC BOOST_COMP_NVCC_DETECTION
+# define BOOST_COMP_NVCC_AVAILABLE
+# include <boost/predef/detail/comp_detected.h>
+#endif
+
+#define BOOST_COMP_NVCC_NAME "NVCC"
+
+#endif
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_NVCC,BOOST_COMP_NVCC_NAME)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/palm.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/palm.h
index 707925a651..7f1821519a 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/palm.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/palm.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_PALM`]
+/* tag::reference[]
+= `BOOST_COMP_PALM`
-Palm C/C++ compiler.
+Palm C/{CPP} compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`_PACC_VER`] [__predef_detection__]]
+| `+_PACC_VER+` | {predef_detection}
- [[`_PACC_VER`] [V.R.P]]
- ]
- */
+| `+_PACC_VER+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_PALM BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/pgi.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/pgi.h
index e016aeb080..649e87add3 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/pgi.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/pgi.h
@@ -11,19 +11,20 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_PGI`]
+/* tag::reference[]
+= `BOOST_COMP_PGI`
-[@http://en.wikipedia.org/wiki/The_Portland_Group Portland Group C/C++] compiler.
+http://en.wikipedia.org/wiki/The_Portland_Group[Portland Group C/{CPP}] compiler.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__PGI`] [__predef_detection__]]
+| `+__PGI+` | {predef_detection}
- [[`__PGIC__`, `__PGIC_MINOR__`, `__PGIC_PATCHLEVEL__`] [V.R.P]]
- ]
- */
+| `+__PGIC__+`, `+__PGIC_MINOR__+`, `+__PGIC_PATCHLEVEL__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_PGI BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/sgi_mipspro.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/sgi_mipspro.h
index 00739f0c3c..7bfdc9c68b 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/sgi_mipspro.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/sgi_mipspro.h
@@ -11,22 +11,23 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_SGI`]
+/* tag::reference[]
+= `BOOST_COMP_SGI`
-[@http://en.wikipedia.org/wiki/MIPSpro SGI MIPSpro] compiler.
+http://en.wikipedia.org/wiki/MIPSpro[SGI MIPSpro] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__sgi`] [__predef_detection__]]
- [[`sgi`] [__predef_detection__]]
+| `+__sgi+` | {predef_detection}
+| `sgi` | {predef_detection}
- [[`_SGI_COMPILER_VERSION`] [V.R.P]]
- [[`_COMPILER_VERSION`] [V.R.P]]
- ]
- */
+| `+_SGI_COMPILER_VERSION+` | V.R.P
+| `+_COMPILER_VERSION+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_SGI BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/sunpro.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/sunpro.h
index 92c3926013..b44d0bb338 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/sunpro.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/sunpro.h
@@ -11,24 +11,25 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_SUNPRO`]
+/* tag::reference[]
+= `BOOST_COMP_SUNPRO`
-[@http://en.wikipedia.org/wiki/Oracle_Solaris_Studio Oracle Solaris Studio] compiler.
+http://en.wikipedia.org/wiki/Oracle_Solaris_Studio[Oracle Solaris Studio] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__SUNPRO_CC`] [__predef_detection__]]
- [[`__SUNPRO_C`] [__predef_detection__]]
+| `+__SUNPRO_CC+` | {predef_detection}
+| `+__SUNPRO_C+` | {predef_detection}
- [[`__SUNPRO_CC`] [V.R.P]]
- [[`__SUNPRO_C`] [V.R.P]]
- [[`__SUNPRO_CC`] [VV.RR.P]]
- [[`__SUNPRO_C`] [VV.RR.P]]
- ]
- */
+| `+__SUNPRO_CC+` | V.R.P
+| `+__SUNPRO_C+` | V.R.P
+| `+__SUNPRO_CC+` | VV.RR.P
+| `+__SUNPRO_C+` | VV.RR.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_SUNPRO BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/tendra.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/tendra.h
index c2bc5e4ef5..bb896c0782 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/tendra.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/tendra.h
@@ -11,17 +11,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_TENDRA`]
+/* tag::reference[]
+= `BOOST_COMP_TENDRA`
-[@http://en.wikipedia.org/wiki/TenDRA_Compiler TenDRA C/C++] compiler.
+http://en.wikipedia.org/wiki/TenDRA_Compiler[TenDRA C/{CPP}] compiler.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__TenDRA__`] [__predef_detection__]]
- ]
- */
+| `+__TenDRA__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_COMP_TENDRA BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/visualc.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/visualc.h
index f81e61ed52..5b0f2b8366 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/visualc.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/visualc.h
@@ -15,25 +15,26 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_MSVC`]
+/* tag::reference[]
+= `BOOST_COMP_MSVC`
-[@http://en.wikipedia.org/wiki/Visual_studio Microsoft Visual C/C++] compiler.
+http://en.wikipedia.org/wiki/Visual_studio[Microsoft Visual C/{CPP}] compiler.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`_MSC_VER`] [__predef_detection__]]
+| `+_MSC_VER+` | {predef_detection}
- [[`_MSC_FULL_VER`] [V.R.P]]
- [[`_MSC_VER`] [V.R.0]]
- ]
+| `+_MSC_FULL_VER+` | V.R.P
+| `+_MSC_VER+` | V.R.0
+|===
-[note Release of Visual Studio after 2015 will no longer be identified
+NOTE: Release of Visual Studio after 2015 will no longer be identified
by Boost Predef as the marketing version number. Instead we use the
-compiler version number directly, i.e. the _MSC_VER number.]
- */
+compiler version number directly, i.e. the _MSC_VER number.
+*/ // end::reference[]
#define BOOST_COMP_MSVC BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/compiler/watcom.h b/contrib/restricted/boost/predef/include/boost/predef/compiler/watcom.h
index b0e7776d06..1f8c069dc1 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/compiler/watcom.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/compiler/watcom.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_COMP_WATCOM`]
+/* tag::reference[]
+= `BOOST_COMP_WATCOM`
-[@http://en.wikipedia.org/wiki/Watcom Watcom C++] compiler.
+http://en.wikipedia.org/wiki/Watcom[Watcom {CPP}] compiler.
Version number available as major, and minor.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__WATCOMC__`] [__predef_detection__]]
+| `+__WATCOMC__+` | {predef_detection}
- [[`__WATCOMC__`] [V.R.P]]
- ]
- */
+| `+__WATCOMC__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_COMP_WATCOM BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/detail/endian_compat.h b/contrib/restricted/boost/predef/include/boost/predef/detail/endian_compat.h
deleted file mode 100644
index 7725e6823c..0000000000
--- a/contrib/restricted/boost/predef/include/boost/predef/detail/endian_compat.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-Copyright Rene Rivera 2013
-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)
-*/
-
-#ifndef BOOST_PREDEF_DETAIL_ENDIAN_COMPAT_H
-#define BOOST_PREDEF_DETAIL_ENDIAN_COMPAT_H
-
-#include <boost/predef/other/endian.h>
-
-#if BOOST_ENDIAN_BIG_BYTE
-# define BOOST_BIG_ENDIAN
-# define BOOST_BYTE_ORDER 4321
-#endif
-#if BOOST_ENDIAN_LITTLE_BYTE
-# define BOOST_LITTLE_ENDIAN
-# define BOOST_BYTE_ORDER 1234
-#endif
-#if BOOST_ENDIAN_LITTLE_WORD
-# define BOOST_PDP_ENDIAN
-# define BOOST_BYTE_ORDER 2134
-#endif
-
-#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd.h b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd.h
index ac5c9da2ca..b671fa3be9 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd.h
@@ -16,55 +16,104 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
-/*`
- [section Using the `BOOST_HW_SIMD_*` predefs]
- [include ../doc/hardware_simd.qbk]
- [endsect]
-
- [/ --------------------------- ]
-
- [section `BOOST_HW_SIMD_*`]
-
- [heading `BOOST_HW_SIMD`]
-
- The SIMD extension detected for a specific architectures.
- Version number depends on the detected extension.
-
- [table
- [[__predef_symbol__] [__predef_version__]]
-
- [[`BOOST_HW_SIMD_X86_AVAILABLE`] [__predef_detection__]]
- [[`BOOST_HW_SIMD_X86_AMD_AVAILABLE`] [__predef_detection__]]
- [[`BOOST_HW_SIMD_ARM_AVAILABLE`] [__predef_detection__]]
- [[`BOOST_HW_SIMD_PPC_AVAILABLE`] [__predef_detection__]]
- ]
-
- [include ../include/boost/predef/hardware/simd/x86.h]
- [include ../include/boost/predef/hardware/simd/x86_amd.h]
- [include ../include/boost/predef/hardware/simd/arm.h]
- [include ../include/boost/predef/hardware/simd/ppc.h]
-
- [endsect]
-
- [/ --------------------------- ]
-
- [section `BOOST_HW_SIMD_X86_*_VERSION`]
- [include ../include/boost/predef/hardware/simd/x86/versions.h]
- [endsect]
-
- [section `BOOST_HW_SIMD_X86_AMD_*_VERSION`]
- [include ../include/boost/predef/hardware/simd/x86_amd/versions.h]
- [endsect]
+/* tag::reference[]
+= Using the `BOOST_HW_SIMD_*` predefs
+
+SIMD predefs depend on compiler options. For example, you will have to add the
+option `-msse3` to clang or gcc to enable SSE3. SIMD predefs are also inclusive.
+This means that if SSE3 is enabled, then every other extensions with a lower
+version number will implicitly be enabled and detected. However, some extensions
+are CPU specific, they may not be detected nor enabled when an upper version is
+enabled.
+
+NOTE: SSE(1) and SSE2 are automatically enabled by default when using x86-64
+architecture.
+
+To check if any SIMD extension has been enabled, you can use:
+
+[source]
+----
+#include <boost/predef/hardware/simd.h>
+#include <iostream>
+
+int main()
+{
+#if defined(BOOST_HW_SIMD_AVAILABLE)
+ std::cout << "SIMD detected!" << std::endl;
+#endif
+ return 0;
+}
+----
+
+When writing SIMD specific code, you may want to check if a particular extension
+has been detected. To do so you have to use the right architecture predef and
+compare it. Those predef are of the form `BOOST_HW_SIMD_"ARCH"` (where `"ARCH"`
+is either `ARM`, `PPC`, or `X86`). For example, if you compile code for x86
+architecture, you will have to use `BOOST_HW_SIMD_X86`. Its value will be the
+version number of the most recent SIMD extension detected for the architecture.
+
+To check if an extension has been enabled:
+
+[source]
+----
+#include <boost/predef/hardware/simd.h>
+#include <iostream>
+
+int main()
+{
+#if BOOST_HW_SIMD_X86 >= BOOST_HW_SIMD_X86_SSE3_VERSION
+ std::cout << "This is SSE3!" << std::endl;
+#endif
+ return 0;
+}
+----
+
+NOTE: The *_VERSION* defines that map version number to actual real
+identifiers. This way it is easier to write comparisons without messing up with
+version numbers.
+
+To *"strictly"* check the most recent detected extension:
+
+[source]
+----
+#include <boost/predef/hardware/simd.h>
+#include <iostream>
+
+int main()
+{
+#if BOOST_HW_SIMD_X86 == BOOST_HW_SIMD_X86_SSE3_VERSION
+ std::cout << "This is SSE3 and this is the most recent enabled extension!"
+ << std::endl;
+#endif
+ return 0;
+}
+----
+
+Because of the version systems of predefs and of the inclusive property of SIMD
+extensions macros, you can easily check for ranges of supported extensions:
+
+[source]
+----
+#include <boost/predef/hardware/simd.h>
+#include <iostream>
+
+int main()
+{
+#if BOOST_HW_SIMD_X86 >= BOOST_HW_SIMD_X86_SSE2_VERSION &&\
+ BOOST_HW_SIMD_X86 <= BOOST_HW_SIMD_X86_SSSE3_VERSION
+ std::cout << "This is SSE2, SSE3 and SSSE3!" << std::endl;
+#endif
+ return 0;
+}
+----
- [section `BOOST_HW_SIMD_ARM_*_VERSION`]
- [include ../include/boost/predef/hardware/simd/arm/versions.h]
- [endsect]
+NOTE: Unlike gcc and clang, Visual Studio does not allow you to specify precisely
+the SSE variants you want to use, the only detections that will take place are
+SSE, SSE2, AVX and AVX2. For more informations,
+ see [@https://msdn.microsoft.com/en-us/library/b0084kay.aspx here].
- [section `BOOST_HW_SIMD_PPC_*_VERSION`]
- [include ../include/boost/predef/hardware/simd/ppc/versions.h]
- [endsect]
- */
+*/ // end::reference[]
// We check if SIMD extension of multiples architectures have been detected,
// if yes, then this is an error!
diff --git a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/arm.h b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/arm.h
index 3b3fc3fa36..24e4c1b091 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/arm.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/arm.h
@@ -12,31 +12,33 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/hardware/simd/arm/versions.h>
-/*`
- [heading `BOOST_HW_SIMD_ARM`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_ARM`
- The SIMD extension for ARM (*if detected*).
- Version number depends on the most recent detected extension.
+The SIMD extension for ARM (*if detected*).
+Version number depends on the most recent detected extension.
- [table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__ARM_NEON__`] [__predef_detection__]]
- [[`__aarch64__`] [__predef_detection__]]
- [[`_M_ARM`] [__predef_detection__]]
- [[`_M_ARM64`] [__predef_detection__]]
- ]
+| `+__ARM_NEON__+` | {predef_detection}
+| `+__aarch64__+` | {predef_detection}
+| `+_M_ARM+` | {predef_detection}
+| `+_M_ARM64+` | {predef_detection}
+|===
- [table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__ARM_NEON__`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
- [[`__aarch64__`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
- [[`_M_ARM`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
- [[`_M_ARM64`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
- ]
+| `+__ARM_NEON__+` | BOOST_HW_SIMD_ARM_NEON_VERSION
+| `+__aarch64__+` | BOOST_HW_SIMD_ARM_NEON_VERSION
+| `+_M_ARM+` | BOOST_HW_SIMD_ARM_NEON_VERSION
+| `+_M_ARM64+` | BOOST_HW_SIMD_ARM_NEON_VERSION
+|===
- */
+*/ // end::reference[]
#define BOOST_HW_SIMD_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/arm/versions.h b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/arm/versions.h
index 8425b31862..92071a6b36 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/arm/versions.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/arm/versions.h
@@ -11,22 +11,28 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
-/*`
- Those defines represent ARM SIMD extensions versions.
+/* tag::reference[]
+= `BOOST_HW_SIMD_ARM_*_VERSION`
- [note You *MUST* compare them with the predef `BOOST_HW_SIMD_ARM`.]
- */
+Those defines represent ARM SIMD extensions versions.
+
+NOTE: You *MUST* compare them with the predef `BOOST_HW_SIMD_ARM`.
+*/ // end::reference[]
// ---------------------------------
-/*`
- [heading `BOOST_HW_SIMD_ARM_NEON_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_ARM_NEON_VERSION`
- The [@https://en.wikipedia.org/wiki/ARM_architecture#Advanced_SIMD_.28NEON.29 NEON]
- ARM extension version number.
+The https://en.wikipedia.org/wiki/ARM_architecture#Advanced_SIMD_.28NEON.29[NEON]
+ARM extension version number.
- Version number is: *1.0.0*.
- */
+Version number is: *1.0.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_ARM_NEON_VERSION BOOST_VERSION_NUMBER(1, 0, 0)
+/* tag::reference[]
+
+*/ // end::reference[]
+
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/ppc.h b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/ppc.h
index eef25c2d26..bf30cc1e81 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/ppc.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/ppc.h
@@ -12,35 +12,37 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/hardware/simd/ppc/versions.h>
-/*`
- [heading `BOOST_HW_SIMD_PPC`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_PPC`
- The SIMD extension for PowerPC (*if detected*).
- Version number depends on the most recent detected extension.
+The SIMD extension for PowerPC (*if detected*).
+Version number depends on the most recent detected extension.
- [table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__VECTOR4DOUBLE__`] [__predef_detection__]]
+| `+__VECTOR4DOUBLE__+` | {predef_detection}
- [[`__ALTIVEC__`] [__predef_detection__]]
- [[`__VEC__`] [__predef_detection__]]
+| `+__ALTIVEC__+` | {predef_detection}
+| `+__VEC__+` | {predef_detection}
- [[`__VSX__`] [__predef_detection__]]
- ]
+| `+__VSX__+` | {predef_detection}
+|===
- [table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__VECTOR4DOUBLE__`] [BOOST_HW_SIMD_PPC_QPX_VERSION]]
+| `+__VECTOR4DOUBLE__+` | BOOST_HW_SIMD_PPC_QPX_VERSION
- [[`__ALTIVEC__`] [BOOST_HW_SIMD_PPC_VMX_VERSION]]
- [[`__VEC__`] [BOOST_HW_SIMD_PPC_VMX_VERSION]]
+| `+__ALTIVEC__+` | BOOST_HW_SIMD_PPC_VMX_VERSION
+| `+__VEC__+` | BOOST_HW_SIMD_PPC_VMX_VERSION
- [[`__VSX__`] [BOOST_HW_SIMD_PPC_VSX_VERSION]]
- ]
+| `+__VSX__+` | BOOST_HW_SIMD_PPC_VSX_VERSION
+|===
- */
+*/ // end::reference[]
#define BOOST_HW_SIMD_PPC BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/ppc/versions.h b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/ppc/versions.h
index ffe3f0b1e5..3cf8319c24 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/ppc/versions.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/ppc/versions.h
@@ -11,41 +11,47 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
-/*`
- Those defines represent Power PC SIMD extensions versions.
+/* tag::reference[]
+= `BOOST_HW_SIMD_PPC_*_VERSION`
- [note You *MUST* compare them with the predef `BOOST_HW_SIMD_PPC`.]
- */
+Those defines represent Power PC SIMD extensions versions.
+
+NOTE: You *MUST* compare them with the predef `BOOST_HW_SIMD_PPC`.
+*/ // end::reference[]
// ---------------------------------
-/*`
- [heading `BOOST_HW_SIMD_PPC_VMX_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_PPC_VMX_VERSION`
- The [@https://en.wikipedia.org/wiki/AltiVec#VMX128 VMX] powerpc extension
- version number.
+The https://en.wikipedia.org/wiki/AltiVec#VMX128[VMX] powerpc extension
+version number.
- Version number is: *1.0.0*.
- */
+Version number is: *1.0.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_PPC_VMX_VERSION BOOST_VERSION_NUMBER(1, 0, 0)
-/*`
- [heading `BOOST_HW_SIMD_PPC_VSX_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_PPC_VSX_VERSION`
- The [@https://en.wikipedia.org/wiki/AltiVec#VSX VSX] powerpc extension version
- number.
+The https://en.wikipedia.org/wiki/AltiVec#VSX[VSX] powerpc extension version
+number.
- Version number is: *1.1.0*.
- */
+Version number is: *1.1.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_PPC_VSX_VERSION BOOST_VERSION_NUMBER(1, 1, 0)
-/*`
- [heading `BOOST_HW_SIMD_PPC_QPX_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_PPC_QPX_VERSION`
- The QPX powerpc extension version number.
+The QPX powerpc extension version number.
- Version number is: *2.0.0*.
- */
+Version number is: *2.0.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_PPC_QPX_VERSION BOOST_VERSION_NUMBER(2, 0, 0)
+/* tag::reference[]
+
+*/ // end::reference[]
+
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86.h b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86.h
index 88bd81e362..6c9a0fb8ab 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86.h
@@ -12,65 +12,67 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/hardware/simd/x86/versions.h>
-/*`
- [heading `BOOST_HW_SIMD_X86`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86`
- The SIMD extension for x86 (*if detected*).
- Version number depends on the most recent detected extension.
+The SIMD extension for x86 (*if detected*).
+Version number depends on the most recent detected extension.
- [table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__SSE__`] [__predef_detection__]]
- [[`_M_X64`] [__predef_detection__]]
- [[`_M_IX86_FP >= 1`] [__predef_detection__]]
+| `+__SSE__+` | {predef_detection}
+| `+_M_X64+` | {predef_detection}
+| `_M_IX86_FP >= 1` | {predef_detection}
- [[`__SSE2__`] [__predef_detection__]]
- [[`_M_X64`] [__predef_detection__]]
- [[`_M_IX86_FP >= 2`] [__predef_detection__]]
+| `+__SSE2__+` | {predef_detection}
+| `+_M_X64+` | {predef_detection}
+| `_M_IX86_FP >= 2` | {predef_detection}
- [[`__SSE3__`] [__predef_detection__]]
+| `+__SSE3__+` | {predef_detection}
- [[`__SSSE3__`] [__predef_detection__]]
+| `+__SSSE3__+` | {predef_detection}
- [[`__SSE4_1__`] [__predef_detection__]]
+| `+__SSE4_1__+` | {predef_detection}
- [[`__SSE4_2__`] [__predef_detection__]]
+| `+__SSE4_2__+` | {predef_detection}
- [[`__AVX__`] [__predef_detection__]]
+| `+__AVX__+` | {predef_detection}
- [[`__FMA__`] [__predef_detection__]]
+| `+__FMA__+` | {predef_detection}
- [[`__AVX2__`] [__predef_detection__]]
- ]
+| `+__AVX2__+` | {predef_detection}
+|===
- [table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__SSE__`] [BOOST_HW_SIMD_X86_SSE_VERSION]]
- [[`_M_X64`] [BOOST_HW_SIMD_X86_SSE_VERSION]]
- [[`_M_IX86_FP >= 1`] [BOOST_HW_SIMD_X86_SSE_VERSION]]
+| `+__SSE__+` | BOOST_HW_SIMD_X86_SSE_VERSION
+| `+_M_X64+` | BOOST_HW_SIMD_X86_SSE_VERSION
+| `_M_IX86_FP >= 1` | BOOST_HW_SIMD_X86_SSE_VERSION
- [[`__SSE2__`] [BOOST_HW_SIMD_X86_SSE2_VERSION]]
- [[`_M_X64`] [BOOST_HW_SIMD_X86_SSE2_VERSION]]
- [[`_M_IX86_FP >= 2`] [BOOST_HW_SIMD_X86_SSE2_VERSION]]
+| `+__SSE2__+` | BOOST_HW_SIMD_X86_SSE2_VERSION
+| `+_M_X64+` | BOOST_HW_SIMD_X86_SSE2_VERSION
+| `_M_IX86_FP >= 2` | BOOST_HW_SIMD_X86_SSE2_VERSION
- [[`__SSE3__`] [BOOST_HW_SIMD_X86_SSE3_VERSION]]
+| `+__SSE3__+` | BOOST_HW_SIMD_X86_SSE3_VERSION
- [[`__SSSE3__`] [BOOST_HW_SIMD_X86_SSSE3_VERSION]]
+| `+__SSSE3__+` | BOOST_HW_SIMD_X86_SSSE3_VERSION
- [[`__SSE4_1__`] [BOOST_HW_SIMD_X86_SSE4_1_VERSION]]
+| `+__SSE4_1__+` | BOOST_HW_SIMD_X86_SSE4_1_VERSION
- [[`__SSE4_2__`] [BOOST_HW_SIMD_X86_SSE4_2_VERSION]]
+| `+__SSE4_2__+` | BOOST_HW_SIMD_X86_SSE4_2_VERSION
- [[`__AVX__`] [BOOST_HW_SIMD_X86_AVX_VERSION]]
+| `+__AVX__+` | BOOST_HW_SIMD_X86_AVX_VERSION
- [[`__FMA__`] [BOOST_HW_SIMD_X86_FMA3_VERSION]]
+| `+__FMA__+` | BOOST_HW_SIMD_X86_FMA3_VERSION
- [[`__AVX2__`] [BOOST_HW_SIMD_X86_AVX2_VERSION]]
- ]
+| `+__AVX2__+` | BOOST_HW_SIMD_X86_AVX2_VERSION
+|===
- */
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86 BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86/versions.h b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86/versions.h
index 0c7a4d3813..ef5b002d41 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86/versions.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86/versions.h
@@ -11,119 +11,125 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
-/*`
- Those defines represent x86 SIMD extensions versions.
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_*_VERSION`
- [note You *MUST* compare them with the predef `BOOST_HW_SIMD_X86`.]
- */
+Those defines represent x86 SIMD extensions versions.
+
+NOTE: You *MUST* compare them with the predef `BOOST_HW_SIMD_X86`.
+*/ // end::reference[]
// ---------------------------------
-/*`
- [heading `BOOST_HW_SIMD_X86_MMX_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_MMX_VERSION`
- The [@https://en.wikipedia.org/wiki/MMX_(instruction_set) MMX] x86 extension
- version number.
+The https://en.wikipedia.org/wiki/MMX_(instruction_set)[MMX] x86 extension
+version number.
- Version number is: *0.99.0*.
- */
+Version number is: *0.99.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_MMX_VERSION BOOST_VERSION_NUMBER(0, 99, 0)
-/*`
- [heading `BOOST_HW_SIMD_X86_SSE_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_SSE_VERSION`
- The [@https://en.wikipedia.org/wiki/Streaming_SIMD_Extensions SSE] x86 extension
- version number.
+The https://en.wikipedia.org/wiki/Streaming_SIMD_Extensions[SSE] x86 extension
+version number.
- Version number is: *1.0.0*.
- */
+Version number is: *1.0.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_SSE_VERSION BOOST_VERSION_NUMBER(1, 0, 0)
-/*`
- [heading `BOOST_HW_SIMD_X86_SSE2_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_SSE2_VERSION`
- The [@https://en.wikipedia.org/wiki/SSE2 SSE2] x86 extension version number.
+The https://en.wikipedia.org/wiki/SSE2[SSE2] x86 extension version number.
- Version number is: *2.0.0*.
- */
+Version number is: *2.0.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_SSE2_VERSION BOOST_VERSION_NUMBER(2, 0, 0)
-/*`
- [heading `BOOST_HW_SIMD_X86_SSE3_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_SSE3_VERSION`
- The [@https://en.wikipedia.org/wiki/SSE3 SSE3] x86 extension version number.
+The https://en.wikipedia.org/wiki/SSE3[SSE3] x86 extension version number.
- Version number is: *3.0.0*.
- */
+Version number is: *3.0.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_SSE3_VERSION BOOST_VERSION_NUMBER(3, 0, 0)
-/*`
- [heading `BOOST_HW_SIMD_X86_SSSE3_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_SSSE3_VERSION`
- The [@https://en.wikipedia.org/wiki/SSSE3 SSSE3] x86 extension version number.
+The https://en.wikipedia.org/wiki/SSSE3[SSSE3] x86 extension version number.
- Version number is: *3.1.0*.
- */
+Version number is: *3.1.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_SSSE3_VERSION BOOST_VERSION_NUMBER(3, 1, 0)
-/*`
- [heading `BOOST_HW_SIMD_X86_SSE4_1_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_SSE4_1_VERSION`
- The [@https://en.wikipedia.org/wiki/SSE4#SSE4.1 SSE4_1] x86 extension version
- number.
+The https://en.wikipedia.org/wiki/SSE4#SSE4.1[SSE4_1] x86 extension version
+number.
- Version number is: *4.1.0*.
- */
+Version number is: *4.1.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_SSE4_1_VERSION BOOST_VERSION_NUMBER(4, 1, 0)
-/*`
- [heading `BOOST_HW_SIMD_X86_SSE4_2_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_SSE4_2_VERSION`
- The [@https://en.wikipedia.org/wiki/SSE4##SSE4.2 SSE4_2] x86 extension version
- number.
+The https://en.wikipedia.org/wiki/SSE4##SSE4.2[SSE4_2] x86 extension version
+number.
- Version number is: *4.2.0*.
- */
+Version number is: *4.2.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_SSE4_2_VERSION BOOST_VERSION_NUMBER(4, 2, 0)
-/*`
- [heading `BOOST_HW_SIMD_X86_AVX_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_AVX_VERSION`
- The [@https://en.wikipedia.org/wiki/Advanced_Vector_Extensions AVX] x86
- extension version number.
+The https://en.wikipedia.org/wiki/Advanced_Vector_Extensions[AVX] x86
+extension version number.
- Version number is: *5.0.0*.
- */
+Version number is: *5.0.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_AVX_VERSION BOOST_VERSION_NUMBER(5, 0, 0)
-/*`
- [heading `BOOST_HW_SIMD_X86_FMA3_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_FMA3_VERSION`
- The [@https://en.wikipedia.org/wiki/FMA_instruction_set FMA3] x86 extension
- version number.
+The https://en.wikipedia.org/wiki/FMA_instruction_set[FMA3] x86 extension
+version number.
- Version number is: *5.2.0*.
- */
+Version number is: *5.2.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_FMA3_VERSION BOOST_VERSION_NUMBER(5, 2, 0)
-/*`
- [heading `BOOST_HW_SIMD_X86_AVX2_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_AVX2_VERSION`
- The [@https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2 AVX2]
- x86 extension version number.
+The https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2[AVX2]
+x86 extension version number.
- Version number is: *5.3.0*.
- */
+Version number is: *5.3.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_AVX2_VERSION BOOST_VERSION_NUMBER(5, 3, 0)
-/*`
- [heading `BOOST_HW_SIMD_X86_MIC_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_MIC_VERSION`
- The [@https://en.wikipedia.org/wiki/Xeon_Phi MIC] (Xeon Phi) x86 extension
- version number.
+The https://en.wikipedia.org/wiki/Xeon_Phi[MIC] (Xeon Phi) x86 extension
+version number.
- Version number is: *9.0.0*.
- */
+Version number is: *9.0.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_MIC_VERSION BOOST_VERSION_NUMBER(9, 0, 0)
+/* tag::reference[]
+
+*/ // end::reference[]
+
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86_amd.h b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86_amd.h
index c80d1ce2b7..ed96af3573 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86_amd.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86_amd.h
@@ -12,42 +12,44 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/hardware/simd/x86_amd/versions.h>
-/*`
- [heading `BOOST_HW_SIMD_X86_AMD`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_AMD`
- The SIMD extension for x86 (AMD) (*if detected*).
- Version number depends on the most recent detected extension.
+The SIMD extension for x86 (AMD) (*if detected*).
+Version number depends on the most recent detected extension.
- [table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__SSE4A__`] [__predef_detection__]]
+| `+__SSE4A__+` | {predef_detection}
- [[`__FMA4__`] [__predef_detection__]]
+| `+__FMA4__+` | {predef_detection}
- [[`__XOP__`] [__predef_detection__]]
+| `+__XOP__+` | {predef_detection}
- [[`BOOST_HW_SIMD_X86`] [__predef_detection__]]
- ]
+| `BOOST_HW_SIMD_X86` | {predef_detection}
+|===
- [table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__SSE4A__`] [BOOST_HW_SIMD_X86_SSE4A_VERSION]]
+| `+__SSE4A__+` | BOOST_HW_SIMD_X86_SSE4A_VERSION
- [[`__FMA4__`] [BOOST_HW_SIMD_X86_FMA4_VERSION]]
+| `+__FMA4__+` | BOOST_HW_SIMD_X86_FMA4_VERSION
- [[`__XOP__`] [BOOST_HW_SIMD_X86_XOP_VERSION]]
+| `+__XOP__+` | BOOST_HW_SIMD_X86_XOP_VERSION
- [[`BOOST_HW_SIMD_X86`] [BOOST_HW_SIMD_X86]]
- ]
+| `BOOST_HW_SIMD_X86` | BOOST_HW_SIMD_X86
+|===
- [note This predef includes every other x86 SIMD extensions and also has other
- more specific extensions (FMA4, XOP, SSE4a). You should use this predef
- instead of `BOOST_HW_SIMD_X86` to test if those specific extensions have
- been detected.]
+NOTE: This predef includes every other x86 SIMD extensions and also has other
+more specific extensions (FMA4, XOP, SSE4a). You should use this predef
+instead of `BOOST_HW_SIMD_X86` to test if those specific extensions have
+been detected.
- */
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_AMD BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86_amd/versions.h b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86_amd/versions.h
index 1f9e96c500..aa54a5cb17 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86_amd/versions.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/hardware/simd/x86_amd/versions.h
@@ -11,41 +11,46 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
-/*`
- Those defines represent x86 (AMD specific) SIMD extensions versions.
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_AMD_*_VERSION`
- [note You *MUST* compare them with the predef `BOOST_HW_SIMD_X86_AMD`.]
- */
+Those defines represent x86 (AMD specific) SIMD extensions versions.
+
+NOTE: You *MUST* compare them with the predef `BOOST_HW_SIMD_X86_AMD`.
+*/ // end::reference[]
// ---------------------------------
-/*`
- [heading `BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION`
- [@https://en.wikipedia.org/wiki/SSE4##SSE4A SSE4A] x86 extension (AMD specific).
+https://en.wikipedia.org/wiki/SSE4##SSE4A[SSE4A] x86 extension (AMD specific).
- Version number is: *4.0.0*.
- */
+Version number is: *4.0.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION BOOST_VERSION_NUMBER(4, 0, 0)
-/*`
- [heading `BOOST_HW_SIMD_X86_AMD_FMA4_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_AMD_FMA4_VERSION`
- [@https://en.wikipedia.org/wiki/FMA_instruction_set#FMA4_instruction_set FMA4] x86 extension (AMD specific).
+https://en.wikipedia.org/wiki/FMA_instruction_set#FMA4_instruction_set[FMA4] x86 extension (AMD specific).
- Version number is: *5.1.0*.
- */
+Version number is: *5.1.0*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_AMD_FMA4_VERSION BOOST_VERSION_NUMBER(5, 1, 0)
-/*`
- [heading `BOOST_HW_SIMD_X86_AMD_XOP_VERSION`]
+/* tag::reference[]
+= `BOOST_HW_SIMD_X86_AMD_XOP_VERSION`
- [@https://en.wikipedia.org/wiki/XOP_instruction_set XOP] x86 extension (AMD specific).
+https://en.wikipedia.org/wiki/XOP_instruction_set[XOP] x86 extension (AMD specific).
- Version number is: *5.1.1*.
- */
+Version number is: *5.1.1*.
+*/ // end::reference[]
#define BOOST_HW_SIMD_X86_AMD_XOP_VERSION BOOST_VERSION_NUMBER(5, 1, 1)
+/* tag::reference[]
+
+*/ // end::reference[]
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/language.h b/contrib/restricted/boost/predef/include/boost/predef/language.h
index 0a317d5ece..9ce3cc98b4 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/language.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/language.h
@@ -13,5 +13,6 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/language/stdc.h>
#include <boost/predef/language/stdcpp.h>
#include <boost/predef/language/objc.h>
+#include <boost/predef/language/cuda.h>
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/language/cuda.h b/contrib/restricted/boost/predef/include/boost/predef/language/cuda.h
new file mode 100644
index 0000000000..1159af4986
--- /dev/null
+++ b/contrib/restricted/boost/predef/include/boost/predef/language/cuda.h
@@ -0,0 +1,53 @@
+/*
+Copyright Benjamin Worpitz 2018
+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)
+*/
+
+#ifndef BOOST_PREDEF_LANGUAGE_CUDA_H
+#define BOOST_PREDEF_LANGUAGE_CUDA_H
+
+#include <boost/predef/version_number.h>
+#include <boost/predef/make.h>
+
+/* tag::reference[]
+= `BOOST_LANG_CUDA`
+
+https://en.wikipedia.org/wiki/CUDA[CUDA C/{CPP}] language.
+If available, the version is detected as VV.RR.P.
+
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
+
+| `+__CUDACC__+` | {predef_detection}
+| `+__CUDA__+` | {predef_detection}
+
+| `CUDA_VERSION` | VV.RR.P
+|===
+*/ // end::reference[]
+
+#define BOOST_LANG_CUDA BOOST_VERSION_NUMBER_NOT_AVAILABLE
+
+#if defined(__CUDACC__) || defined(__CUDA__)
+# undef BOOST_LANG_CUDA
+# include <cuda.h>
+# if defined(CUDA_VERSION)
+# define BOOST_LANG_CUDA BOOST_PREDEF_MAKE_10_VVRRP(CUDA_VERSION)
+# else
+# define BOOST_LANG_CUDA BOOST_VERSION_NUMBER_AVAILABLE
+# endif
+#endif
+
+#if BOOST_LANG_CUDA
+# define BOOST_LANG_CUDA_AVAILABLE
+#endif
+
+#define BOOST_LANG_CUDA_NAME "CUDA C/C++"
+
+
+#endif
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_LANG_CUDA,BOOST_LANG_CUDA_NAME)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/language/objc.h b/contrib/restricted/boost/predef/include/boost/predef/language/objc.h
index 24e3ad3c5c..c521371daa 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/language/objc.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/language/objc.h
@@ -11,17 +11,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LANG_OBJC`]
+/* tag::reference[]
+= `BOOST_LANG_OBJC`
-[@http://en.wikipedia.org/wiki/Objective-C Objective-C] language.
+http://en.wikipedia.org/wiki/Objective-C[Objective-C] language.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__OBJC__`] [__predef_detection__]]
- ]
- */
+| `+__OBJC__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_LANG_OBJC BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/language/stdc.h b/contrib/restricted/boost/predef/include/boost/predef/language/stdc.h
index db25c12dc0..8cbd6a10c3 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/language/stdc.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/language/stdc.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LANG_STDC`]
+/* tag::reference[]
+= `BOOST_LANG_STDC`
-[@http://en.wikipedia.org/wiki/C_(programming_language) Standard C] language.
-If available, the year of the standard is detected as YYYY.MM.1 from the Epoc date.
+http://en.wikipedia.org/wiki/C_(programming_language)[Standard C] language.
+If available, the year of the standard is detected as YYYY.MM.1 from the Epoch date.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__STDC__`] [__predef_detection__]]
+| `+__STDC__+` | {predef_detection}
- [[`__STDC_VERSION__`] [V.R.P]]
- ]
- */
+| `+__STDC_VERSION__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_LANG_STDC BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/language/stdcpp.h b/contrib/restricted/boost/predef/include/boost/predef/language/stdcpp.h
index 34dc8c7deb..daa14cfc01 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/language/stdcpp.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/language/stdcpp.h
@@ -11,29 +11,34 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LANG_STDCPP`]
+/* tag::reference[]
+= `BOOST_LANG_STDCPP`
-[@http://en.wikipedia.org/wiki/C%2B%2B Standard C++] language.
-If available, the year of the standard is detected as YYYY.MM.1 from the Epoc date.
-Because of the way the C++ standardization process works the
+http://en.wikipedia.org/wiki/C%2B%2B[Standard {CPP}] language.
+If available, the year of the standard is detected as YYYY.MM.1 from the Epoch date.
+Because of the way the {CPP} standardization process works the
defined version year will not be the commonly known year of the standard.
Specifically the defined versions are:
-[table Detected Version Number vs. C++ Standard Year
- [[Detected Version Number] [Standard Year] [C++ Standard]]
- [[27.11.1] [1998] [ISO/IEC 14882:1998]]
- [[41.12.1] [2011] [ISO/IEC 14882:2011]]
-]
+.Detected Version Number vs. {CPP} Standard Year
+[options="header"]
+|===
+| Detected Version Number | Standard Year | {CPP} Standard
+| 27.11.1 | 1998 | ISO/IEC 14882:1998
+| 41.3.1 | 2011 | ISO/IEC 14882:2011
+| 44.2.1 | 2014 | ISO/IEC 14882:2014
+| 47.3.1 | 2017 | ISO/IEC 14882:2017
+|===
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__cplusplus`] [__predef_detection__]]
+| `+__cplusplus+` | {predef_detection}
- [[`__cplusplus`] [YYYY.MM.1]]
- ]
- */
+| `+__cplusplus+` | YYYY.MM.1
+|===
+*/ // end::reference[]
#define BOOST_LANG_STDCPP BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -52,20 +57,21 @@ Specifically the defined versions are:
#define BOOST_LANG_STDCPP_NAME "Standard C++"
-/*`
-[heading `BOOST_LANG_STDCPPCLI`]
+/* tag::reference[]
+= `BOOST_LANG_STDCPPCLI`
-[@http://en.wikipedia.org/wiki/C%2B%2B/CLI Standard C++/CLI] language.
-If available, the year of the standard is detected as YYYY.MM.1 from the Epoc date.
+http://en.wikipedia.org/wiki/C%2B%2B/CLI[Standard {CPP}/CLI] language.
+If available, the year of the standard is detected as YYYY.MM.1 from the Epoch date.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__cplusplus_cli`] [__predef_detection__]]
+| `+__cplusplus_cli+` | {predef_detection}
- [[`__cplusplus_cli`] [YYYY.MM.1]]
- ]
- */
+| `+__cplusplus_cli+` | YYYY.MM.1
+|===
+*/ // end::reference[]
#define BOOST_LANG_STDCPPCLI BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -84,17 +90,18 @@ If available, the year of the standard is detected as YYYY.MM.1 from the Epoc da
#define BOOST_LANG_STDCPPCLI_NAME "Standard C++/CLI"
-/*`
-[heading `BOOST_LANG_STDECPP`]
+/* tag::reference[]
+= `BOOST_LANG_STDECPP`
-[@http://en.wikipedia.org/wiki/Embedded_C%2B%2B Standard Embedded C++] language.
+http://en.wikipedia.org/wiki/Embedded_C%2B%2B[Standard Embedded {CPP}] language.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__embedded_cplusplus`] [__predef_detection__]]
- ]
- */
+| `+__embedded_cplusplus+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_LANG_STDECPP BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/c/cloudabi.h b/contrib/restricted/boost/predef/include/boost/predef/library/c/cloudabi.h
index e6acaee65d..80ce81caef 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/c/cloudabi.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/c/cloudabi.h
@@ -18,20 +18,21 @@
#include <stddef.h>
#endif
-/*`
-[heading `BOOST_LIB_C_CLOUDABI`]
+/* tag::reference[]
+= `BOOST_LIB_C_CLOUDABI`
-[@https://github.com/NuxiNL/cloudlibc cloudlibc] - CloudABI's standard C library.
+https://github.com/NuxiNL/cloudlibc[cloudlibc] - CloudABI's standard C library.
Version number available as major, and minor.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__cloudlibc__`] [__predef_detection__]]
+| `+__cloudlibc__+` | {predef_detection}
- [[`__cloudlibc_major__`, `__cloudlibc_minor__`] [V.R.0]]
- ]
- */
+| `+__cloudlibc_major__+`, `+__cloudlibc_minor__+` | V.R.0
+|===
+*/ // end::reference[]
#define BOOST_LIB_C_CLOUDABI BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/c/gnu.h b/contrib/restricted/boost/predef/include/boost/predef/library/c/gnu.h
index 9e4ca89d64..dd7a2052be 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/c/gnu.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/c/gnu.h
@@ -19,22 +19,23 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <cstddef>
#endif
-/*`
-[heading `BOOST_LIB_C_GNU`]
+/* tag::reference[]
+= `BOOST_LIB_C_GNU`
-[@http://en.wikipedia.org/wiki/Glibc GNU glibc] Standard C library.
+http://en.wikipedia.org/wiki/Glibc[GNU glibc] Standard C library.
Version number available as major, and minor.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__GLIBC__`] [__predef_detection__]]
- [[`__GNU_LIBRARY__`] [__predef_detection__]]
+| `+__GLIBC__+` | {predef_detection}
+| `+__GNU_LIBRARY__+` | {predef_detection}
- [[`__GLIBC__`, `__GLIBC_MINOR__`] [V.R.0]]
- [[`__GNU_LIBRARY__`, `__GNU_LIBRARY_MINOR__`] [V.R.0]]
- ]
- */
+| `+__GLIBC__+`, `+__GLIBC_MINOR__+` | V.R.0
+| `+__GNU_LIBRARY__+`, `+__GNU_LIBRARY_MINOR__+` | V.R.0
+|===
+*/ // end::reference[]
#define BOOST_LIB_C_GNU BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/c/uc.h b/contrib/restricted/boost/predef/include/boost/predef/library/c/uc.h
index 03081e94c6..6eb22f0c07 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/c/uc.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/c/uc.h
@@ -13,19 +13,20 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LIB_C_UC`]
+/* tag::reference[]
+= `BOOST_LIB_C_UC`
-[@http://en.wikipedia.org/wiki/Uclibc uClibc] Standard C library.
+http://en.wikipedia.org/wiki/Uclibc[uClibc] Standard C library.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__UCLIBC__`] [__predef_detection__]]
+| `+__UCLIBC__+` | {predef_detection}
- [[`__UCLIBC_MAJOR__`, `__UCLIBC_MINOR__`, `__UCLIBC_SUBLEVEL__`] [V.R.P]]
- ]
- */
+| `+__UCLIBC_MAJOR__+`, `+__UCLIBC_MINOR__+`, `+__UCLIBC_SUBLEVEL__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_LIB_C_UC BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/c/vms.h b/contrib/restricted/boost/predef/include/boost/predef/library/c/vms.h
index 685f1a77d6..ca9050f8c8 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/c/vms.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/c/vms.h
@@ -13,20 +13,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LIB_C_VMS`]
+/* tag::reference[]
+= `BOOST_LIB_C_VMS`
VMS libc Standard C library.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__CRTL_VER`] [__predef_detection__]]
+| `+__CRTL_VER+` | {predef_detection}
- [[`__CRTL_VER`] [V.R.P]]
- ]
- */
+| `+__CRTL_VER+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_LIB_C_VMS BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/c/zos.h b/contrib/restricted/boost/predef/include/boost/predef/library/c/zos.h
index 222d35539f..8390762103 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/c/zos.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/c/zos.h
@@ -13,21 +13,22 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LIB_C_ZOS`]
+/* tag::reference[]
+= `BOOST_LIB_C_ZOS`
z/OS libc Standard C library.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__LIBREL__`] [__predef_detection__]]
+| `+__LIBREL__+` | {predef_detection}
- [[`__LIBREL__`] [V.R.P]]
- [[`__TARGET_LIB__`] [V.R.P]]
- ]
- */
+| `+__LIBREL__+` | V.R.P
+| `+__TARGET_LIB__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_LIB_C_ZOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/std/cxx.h b/contrib/restricted/boost/predef/include/boost/predef/library/std/cxx.h
index 07b52cd6af..470c80da1a 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/std/cxx.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/std/cxx.h
@@ -13,25 +13,26 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LIB_STD_CXX`]
+/* tag::reference[]
+= `BOOST_LIB_STD_CXX`
-[@http://libcxx.llvm.org/ libc++] C++ Standard Library.
+http://libcxx.llvm.org/[libc++] {CPP} Standard Library.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`_LIBCPP_VERSION`] [__predef_detection__]]
+| `+_LIBCPP_VERSION+` | {predef_detection}
- [[`_LIBCPP_VERSION`] [V.0.P]]
- ]
- */
+| `+_LIBCPP_VERSION+` | V.0.P
+|===
+*/ // end::reference[]
#define BOOST_LIB_STD_CXX BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(_LIBCPP_VERSION)
# undef BOOST_LIB_STD_CXX
-# define BOOST_LIB_STD_CXX BOOST_PREDEF_MAKE_10_VPPP(_LIBCPP_VERSION)
+# define BOOST_LIB_STD_CXX BOOST_PREDEF_MAKE_10_VVPPP(_LIBCPP_VERSION)
#endif
#if BOOST_LIB_STD_CXX
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/std/dinkumware.h b/contrib/restricted/boost/predef/include/boost/predef/library/std/dinkumware.h
index 0fc077605d..5a4bc57a5b 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/std/dinkumware.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/std/dinkumware.h
@@ -13,21 +13,22 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LIB_STD_DINKUMWARE`]
+/* tag::reference[]
+= `BOOST_LIB_STD_DINKUMWARE`
-[@http://en.wikipedia.org/wiki/Dinkumware Dinkumware] Standard C++ Library.
+http://en.wikipedia.org/wiki/Dinkumware[Dinkumware] Standard {CPP} Library.
If available version number as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`_YVALS`, `__IBMCPP__`] [__predef_detection__]]
- [[`_CPPLIB_VER`] [__predef_detection__]]
+| `+_YVALS+`, `+__IBMCPP__+` | {predef_detection}
+| `+_CPPLIB_VER+` | {predef_detection}
- [[`_CPPLIB_VER`] [V.R.0]]
- ]
- */
+| `+_CPPLIB_VER+` | V.R.0
+|===
+*/ // end::reference[]
#define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/std/libcomo.h b/contrib/restricted/boost/predef/include/boost/predef/library/std/libcomo.h
index 97d4a53d6f..a2116c85eb 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/std/libcomo.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/std/libcomo.h
@@ -13,20 +13,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LIB_STD_COMO`]
+/* tag::reference[]
+= `BOOST_LIB_STD_COMO`
-[@http://www.comeaucomputing.com/libcomo/ Comeau Computing] Standard C++ Library.
+http://www.comeaucomputing.com/libcomo/[Comeau Computing] Standard {CPP} Library.
Version number available as major.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__LIBCOMO__`] [__predef_detection__]]
+| `+__LIBCOMO__+` | {predef_detection}
- [[`__LIBCOMO_VERSION__`] [V.0.0]]
- ]
- */
+| `+__LIBCOMO_VERSION__+` | V.0.0
+|===
+*/ // end::reference[]
#define BOOST_LIB_STD_COMO BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/std/modena.h b/contrib/restricted/boost/predef/include/boost/predef/library/std/modena.h
index b67ac62f17..4ce1cfcd7a 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/std/modena.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/std/modena.h
@@ -13,18 +13,19 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LIB_STD_MSIPL`]
+/* tag::reference[]
+= `BOOST_LIB_STD_MSIPL`
-[@http://modena.us/ Modena Software Lib++] Standard C++ Library.
+http://modena.us/[Modena Software Lib++] Standard {CPP} Library.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`MSIPL_COMPILE_H`] [__predef_detection__]]
- [[`__MSIPL_COMPILE_H`] [__predef_detection__]]
- ]
- */
+| `MSIPL_COMPILE_H` | {predef_detection}
+| `+__MSIPL_COMPILE_H+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_LIB_STD_MSIPL BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/std/msl.h b/contrib/restricted/boost/predef/include/boost/predef/library/std/msl.h
index d73c74c6d8..932da795b5 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/std/msl.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/std/msl.h
@@ -13,22 +13,23 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LIB_STD_MSL`]
+/* tag::reference[]
+= `BOOST_LIB_STD_MSL`
-[@http://www.freescale.com/ Metrowerks] Standard C++ Library.
+http://www.freescale.com/[Metrowerks] Standard {CPP} Library.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__MSL_CPP__`] [__predef_detection__]]
- [[`__MSL__`] [__predef_detection__]]
+| `+__MSL_CPP__+` | {predef_detection}
+| `+__MSL__+` | {predef_detection}
- [[`__MSL_CPP__`] [V.R.P]]
- [[`__MSL__`] [V.R.P]]
- ]
- */
+| `+__MSL_CPP__+` | V.R.P
+| `+__MSL__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_LIB_STD_MSL BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/std/roguewave.h b/contrib/restricted/boost/predef/include/boost/predef/library/std/roguewave.h
index 9c3f288b6f..c64cb061d8 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/std/roguewave.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/std/roguewave.h
@@ -13,21 +13,22 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LIB_STD_RW`]
+/* tag::reference[]
+= `BOOST_LIB_STD_RW`
-[@http://stdcxx.apache.org/ Roguewave] Standard C++ library.
+http://stdcxx.apache.org/[Roguewave] Standard {CPP} library.
If available version number as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__STD_RWCOMPILER_H__`] [__predef_detection__]]
- [[`_RWSTD_VER`] [__predef_detection__]]
+| `+__STD_RWCOMPILER_H__+` | {predef_detection}
+| `+_RWSTD_VER+` | {predef_detection}
- [[`_RWSTD_VER`] [V.R.P]]
- ]
- */
+| `+_RWSTD_VER+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_LIB_STD_RW BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/std/sgi.h b/contrib/restricted/boost/predef/include/boost/predef/library/std/sgi.h
index 5d19bbac4d..3d11dd43c7 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/std/sgi.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/std/sgi.h
@@ -13,20 +13,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LIB_STD_SGI`]
+/* tag::reference[]
+= `BOOST_LIB_STD_SGI`
-[@http://www.sgi.com/tech/stl/ SGI] Standard C++ library.
+http://www.sgi.com/tech/stl/[SGI] Standard {CPP} library.
If available version number as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__STL_CONFIG_H`] [__predef_detection__]]
+| `+__STL_CONFIG_H+` | {predef_detection}
- [[`__SGI_STL`] [V.R.P]]
- ]
- */
+| `+__SGI_STL+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/std/stdcpp3.h b/contrib/restricted/boost/predef/include/boost/predef/library/std/stdcpp3.h
index c9802924a7..90aa3d183c 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/std/stdcpp3.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/std/stdcpp3.h
@@ -13,22 +13,23 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LIB_STD_GNU`]
+/* tag::reference[]
+= `BOOST_LIB_STD_GNU`
-[@http://gcc.gnu.org/libstdc++/ GNU libstdc++] Standard C++ library.
+https://gcc.gnu.org/onlinedocs/libstdc%2b%2b/[GNU libstdc++] Standard {CPP} library.
Version number available as year (from 1970), month, and day.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__GLIBCXX__`] [__predef_detection__]]
- [[`__GLIBCPP__`] [__predef_detection__]]
+| `+__GLIBCXX__+` | {predef_detection}
+| `+__GLIBCPP__+` | {predef_detection}
- [[`__GLIBCXX__`] [V.R.P]]
- [[`__GLIBCPP__`] [V.R.P]]
- ]
- */
+| `+__GLIBCXX__+` | V.R.P
+| `+__GLIBCPP__+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_LIB_STD_GNU BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/std/stlport.h b/contrib/restricted/boost/predef/include/boost/predef/library/std/stlport.h
index c09483bd9f..9d7f14f8af 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/std/stlport.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/std/stlport.h
@@ -13,23 +13,24 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LIB_STD_STLPORT`]
+/* tag::reference[]
+= `BOOST_LIB_STD_STLPORT`
-[@http://sourceforge.net/projects/stlport/ STLport Standard C++] library.
+http://sourceforge.net/projects/stlport/[STLport Standard {CPP}] library.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__SGI_STL_PORT`] [__predef_detection__]]
- [[`_STLPORT_VERSION`] [__predef_detection__]]
+| `+__SGI_STL_PORT+` | {predef_detection}
+| `+_STLPORT_VERSION+` | {predef_detection}
- [[`_STLPORT_MAJOR`, `_STLPORT_MINOR`, `_STLPORT_PATCHLEVEL`] [V.R.P]]
- [[`_STLPORT_VERSION`] [V.R.P]]
- [[`__SGI_STL_PORT`] [V.R.P]]
- ]
- */
+| `+_STLPORT_MAJOR+`, `+_STLPORT_MINOR+`, `+_STLPORT_PATCHLEVEL+` | V.R.P
+| `+_STLPORT_VERSION+` | V.R.P
+| `+__SGI_STL_PORT+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_LIB_STD_STLPORT BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/std/vacpp.h b/contrib/restricted/boost/predef/include/boost/predef/library/std/vacpp.h
index 632f846c20..6165feffeb 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/std/vacpp.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/std/vacpp.h
@@ -13,17 +13,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_LIB_STD_IBM`]
+/* tag::reference[]
+= `BOOST_LIB_STD_IBM`
-[@http://www.ibm.com/software/awdtools/xlcpp/ IBM VACPP Standard C++] library.
+http://www.ibm.com/software/awdtools/xlcpp/[IBM VACPP Standard {CPP}] library.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__IBMCPP__`] [__predef_detection__]]
- ]
- */
+| `+__IBMCPP__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_LIB_STD_IBM BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/make.h b/contrib/restricted/boost/predef/include/boost/predef/make.h
index 36b891aa33..e65a0e1bd8 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/make.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/make.h
@@ -13,8 +13,8 @@ http://www.boost.org/LICENSE_1_0.txt)
Shorthands for the common version number formats used by vendors...
*/
-/*`
-[heading `BOOST_PREDEF_MAKE_..` macros]
+/* tag::reference[]
+= `BOOST_PREDEF_MAKE_..` macros
These set of macros decompose common vendor version number
macros which are composed version, revision, and patch digits.
@@ -27,67 +27,137 @@ The naming convention indicates:
indicates an ignored digit.
Macros are:
-*/
-/*` `BOOST_PREDEF_MAKE_0X_VRP(V)` */
+
+*/ // end::reference[]
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_0X_VRP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_0X_VRP(V) BOOST_VERSION_NUMBER((V&0xF00)>>8,(V&0xF0)>>4,(V&0xF))
-/*` `BOOST_PREDEF_MAKE_0X_VVRP(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_0X_VVRP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_0X_VVRP(V) BOOST_VERSION_NUMBER((V&0xFF00)>>8,(V&0xF0)>>4,(V&0xF))
-/*` `BOOST_PREDEF_MAKE_0X_VRPP(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_0X_VRPP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_0X_VRPP(V) BOOST_VERSION_NUMBER((V&0xF000)>>12,(V&0xF00)>>8,(V&0xFF))
-/*` `BOOST_PREDEF_MAKE_0X_VVRR(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_0X_VVRR(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_0X_VVRR(V) BOOST_VERSION_NUMBER((V&0xFF00)>>8,(V&0xFF),0)
-/*` `BOOST_PREDEF_MAKE_0X_VRRPPPP(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_0X_VRRPPPP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_0X_VRRPPPP(V) BOOST_VERSION_NUMBER((V&0xF000000)>>24,(V&0xFF0000)>>16,(V&0xFFFF))
-/*` `BOOST_PREDEF_MAKE_0X_VVRRP(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_0X_VVRRP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_0X_VVRRP(V) BOOST_VERSION_NUMBER((V&0xFF000)>>12,(V&0xFF0)>>4,(V&0xF))
-/*` `BOOST_PREDEF_MAKE_0X_VRRPP000(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_0X_VRRPP000(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_0X_VRRPP000(V) BOOST_VERSION_NUMBER((V&0xF0000000)>>28,(V&0xFF00000)>>20,(V&0xFF000)>>12)
-/*` `BOOST_PREDEF_MAKE_0X_VVRRPP(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_0X_VVRRPP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_0X_VVRRPP(V) BOOST_VERSION_NUMBER((V&0xFF0000)>>16,(V&0xFF00)>>8,(V&0xFF))
-/*` `BOOST_PREDEF_MAKE_10_VPPP(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VPPP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VPPP(V) BOOST_VERSION_NUMBER(((V)/1000)%10,0,(V)%1000)
-/*` `BOOST_PREDEF_MAKE_10_VRP(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VVPPP(V)`
+*/ // end::reference[]
+#define BOOST_PREDEF_MAKE_10_VVPPP(V) BOOST_VERSION_NUMBER(((V)/1000)%100,0,(V)%1000)
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VR0(V)`
+*/ // end::reference[]
+#define BOOST_PREDEF_MAKE_10_VR0(V) BOOST_VERSION_NUMBER(((V)/100)%10,((V)/10)%10,0)
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VRP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VRP(V) BOOST_VERSION_NUMBER(((V)/100)%10,((V)/10)%10,(V)%10)
-/*` `BOOST_PREDEF_MAKE_10_VRP000(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VRP000(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VRP000(V) BOOST_VERSION_NUMBER(((V)/100000)%10,((V)/10000)%10,((V)/1000)%10)
-/*` `BOOST_PREDEF_MAKE_10_VRPPPP(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VRPPPP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VRPPPP(V) BOOST_VERSION_NUMBER(((V)/100000)%10,((V)/10000)%10,(V)%10000)
-/*` `BOOST_PREDEF_MAKE_10_VRPP(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VRPP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VRPP(V) BOOST_VERSION_NUMBER(((V)/1000)%10,((V)/100)%10,(V)%100)
-/*` `BOOST_PREDEF_MAKE_10_VRR(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VRR(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VRR(V) BOOST_VERSION_NUMBER(((V)/100)%10,(V)%100,0)
-/*` `BOOST_PREDEF_MAKE_10_VRRPP(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VRRPP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VRRPP(V) BOOST_VERSION_NUMBER(((V)/10000)%10,((V)/100)%100,(V)%100)
-/*` `BOOST_PREDEF_MAKE_10_VRR000(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VRR000(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VRR000(V) BOOST_VERSION_NUMBER(((V)/100000)%10,((V)/1000)%100,0)
-/*` `BOOST_PREDEF_MAKE_10_VV00(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VV00(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VV00(V) BOOST_VERSION_NUMBER(((V)/100)%100,0,0)
-/*` `BOOST_PREDEF_MAKE_10_VVRR(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VVRR(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VVRR(V) BOOST_VERSION_NUMBER(((V)/100)%100,(V)%100,0)
-/*` `BOOST_PREDEF_MAKE_10_VVRRPP(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VVRRP(V)`
+*/ // end::reference[]
+#define BOOST_PREDEF_MAKE_10_VVRRP(V) BOOST_VERSION_NUMBER(((V)/1000)%100,((V)/10)%100,(V)%10)
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VVRRPP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VVRRPP(V) BOOST_VERSION_NUMBER(((V)/10000)%100,((V)/100)%100,(V)%100)
-/*` `BOOST_PREDEF_MAKE_10_VVRRPPP(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VVRRPPP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VVRRPPP(V) BOOST_VERSION_NUMBER(((V)/100000)%100,((V)/1000)%100,(V)%1000)
-/*` `BOOST_PREDEF_MAKE_10_VVRR0PP00(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VVRR0PP00(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VVRR0PP00(V) BOOST_VERSION_NUMBER(((V)/10000000)%100,((V)/100000)%100,((V)/100)%100)
-/*` `BOOST_PREDEF_MAKE_10_VVRR0PPPP(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VVRR0PPPP(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VVRR0PPPP(V) BOOST_VERSION_NUMBER(((V)/10000000)%100,((V)/100000)%100,(V)%10000)
-/*` `BOOST_PREDEF_MAKE_10_VVRR00PP00(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VVRR00PP00(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VVRR00PP00(V) BOOST_VERSION_NUMBER(((V)/100000000)%100,((V)/1000000)%100,((V)/100)%100)
-/*`
-[heading `BOOST_PREDEF_MAKE_*..` date macros]
+
+/* tag::reference[]
+
+= `BOOST_PREDEF_MAKE_*..` date macros
Date decomposition macros return a date in the relative to the 1970
Epoch date. If the month is not available, January 1st is used as the month and day.
If the day is not available, but the month is, the 1st of the month is used as the day.
-*/
-/*` `BOOST_PREDEF_MAKE_DATE(Y,M,D)` */
+
+*/ // end::reference[]
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_DATE(Y,M,D)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_DATE(Y,M,D) BOOST_VERSION_NUMBER((Y)%10000-1970,(M)%100,(D)%100)
-/*` `BOOST_PREDEF_MAKE_YYYYMMDD(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_YYYYMMDD(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_YYYYMMDD(V) BOOST_PREDEF_MAKE_DATE(((V)/10000)%10000,((V)/100)%100,(V)%100)
-/*` `BOOST_PREDEF_MAKE_YYYY(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_YYYY(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_YYYY(V) BOOST_PREDEF_MAKE_DATE(V,1,1)
-/*` `BOOST_PREDEF_MAKE_YYYYMM(V)` */
+/* tag::reference[]
+* `BOOST_PREDEF_MAKE_YYYYMM(V)`
+*/ // end::reference[]
#define BOOST_PREDEF_MAKE_YYYYMM(V) BOOST_PREDEF_MAKE_DATE((V)/100,(V)%100,1)
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os.h b/contrib/restricted/boost/predef/include/boost/predef/os.h
index bedf99ec54..da28e1c47e 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os.h
@@ -13,7 +13,6 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/os/aix.h>
#include <boost/predef/os/amigaos.h>
-#include <boost/predef/os/android.h>
#include <boost/predef/os/beos.h>
#include <boost/predef/os/bsd.h>
#include <boost/predef/os/cygwin.h>
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/aix.h b/contrib/restricted/boost/predef/include/boost/predef/os/aix.h
index 3e5a953f1b..9bfe740c40 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/aix.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/aix.h
@@ -11,24 +11,25 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_AIX`]
+/* tag::reference[]
+= `BOOST_OS_AIX`
-[@http://en.wikipedia.org/wiki/AIX_operating_system IBM AIX] operating system.
+http://en.wikipedia.org/wiki/AIX_operating_system[IBM AIX] operating system.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`_AIX`] [__predef_detection__]]
- [[`__TOS_AIX__`] [__predef_detection__]]
+| `+_AIX+` | {predef_detection}
+| `+__TOS_AIX__+` | {predef_detection}
- [[`_AIX43`] [4.3.0]]
- [[`_AIX41`] [4.1.0]]
- [[`_AIX32`] [3.2.0]]
- [[`_AIX3`] [3.0.0]]
- ]
- */
+| `+_AIX43+` | 4.3.0
+| `+_AIX41+` | 4.1.0
+| `+_AIX32+` | 3.2.0
+| `+_AIX3+` | 3.0.0
+|===
+*/ // end::reference[]
#define BOOST_OS_AIX BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/amigaos.h b/contrib/restricted/boost/predef/include/boost/predef/os/amigaos.h
index 7b32ddf59c..c6a1f71ac0 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/amigaos.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/amigaos.h
@@ -11,18 +11,19 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_AMIGAOS`]
+/* tag::reference[]
+= `BOOST_OS_AMIGAOS`
-[@http://en.wikipedia.org/wiki/AmigaOS AmigaOS] operating system.
+http://en.wikipedia.org/wiki/AmigaOS[AmigaOS] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`AMIGA`] [__predef_detection__]]
- [[`__amigaos__`] [__predef_detection__]]
- ]
- */
+| `AMIGA` | {predef_detection}
+| `+__amigaos__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_OS_AMIGAOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/android.h b/contrib/restricted/boost/predef/include/boost/predef/os/android.h
deleted file mode 100644
index 125dbded9e..0000000000
--- a/contrib/restricted/boost/predef/include/boost/predef/os/android.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
-Copyright Rene Rivera 2015
-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)
-*/
-
-#ifndef BOOST_PREDEF_OS_ANDROID_H
-#define BOOST_PREDEF_OS_ANDROID_H
-
-#include <boost/predef/version_number.h>
-#include <boost/predef/make.h>
-
-/*`
-[heading `BOOST_OS_ANDROID`]
-
-[@http://en.wikipedia.org/wiki/Android_%28operating_system%29 Android] operating system.
-
-[table
- [[__predef_symbol__] [__predef_version__]]
-
- [[`__ANDROID__`] [__predef_detection__]]
- ]
- */
-
-#define BOOST_OS_ANDROID BOOST_VERSION_NUMBER_NOT_AVAILABLE
-
-#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
- defined(__ANDROID__) \
- )
-# undef BOOST_OS_ANDROID
-# define BOOST_OS_ANDROID BOOST_VERSION_NUMBER_AVAILABLE
-#endif
-
-#if BOOST_OS_ANDROID
-# define BOOST_OS_ANDROID_AVAILABLE
-# include <boost/predef/detail/os_detected.h>
-#endif
-
-#define BOOST_OS_ANDROID_NAME "Android"
-
-#endif
-
-#include <boost/predef/detail/test.h>
-BOOST_PREDEF_DECLARE_TEST(BOOST_OS_ANDROID,BOOST_OS_ANDROID_NAME)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/beos.h b/contrib/restricted/boost/predef/include/boost/predef/os/beos.h
index 19f4cb71e3..8f764875e4 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/beos.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/beos.h
@@ -11,17 +11,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_BEOS`]
+/* tag::reference[]
+= `BOOST_OS_BEOS`
-[@http://en.wikipedia.org/wiki/BeOS BeOS] operating system.
+http://en.wikipedia.org/wiki/BeOS[BeOS] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__BEOS__`] [__predef_detection__]]
- ]
- */
+| `+__BEOS__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_OS_BEOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/bsd.h b/contrib/restricted/boost/predef/include/boost/predef/os/bsd.h
index fad9aed787..528a5972bf 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/bsd.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/bsd.h
@@ -18,36 +18,37 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_BSD`]
+/* tag::reference[]
+= `BOOST_OS_BSD`
-[@http://en.wikipedia.org/wiki/Berkeley_Software_Distribution BSD] operating system.
+http://en.wikipedia.org/wiki/Berkeley_Software_Distribution[BSD] operating system.
BSD has various branch operating systems possible and each detected
individually. This detects the following variations and sets a specific
version number macro to match:
-* `BOOST_OS_BSD_DRAGONFLY` [@http://en.wikipedia.org/wiki/DragonFly_BSD DragonFly BSD]
-* `BOOST_OS_BSD_FREE` [@http://en.wikipedia.org/wiki/Freebsd FreeBSD]
-* `BOOST_OS_BSD_BSDI` [@http://en.wikipedia.org/wiki/BSD/OS BSDi BSD/OS]
-* `BOOST_OS_BSD_NET` [@http://en.wikipedia.org/wiki/Netbsd NetBSD]
-* `BOOST_OS_BSD_OPEN` [@http://en.wikipedia.org/wiki/Openbsd OpenBSD]
+* `BOOST_OS_BSD_DRAGONFLY` http://en.wikipedia.org/wiki/DragonFly_BSD[DragonFly BSD]
+* `BOOST_OS_BSD_FREE` http://en.wikipedia.org/wiki/Freebsd[FreeBSD]
+* `BOOST_OS_BSD_BSDI` http://en.wikipedia.org/wiki/BSD/OS[BSDi BSD/OS]
+* `BOOST_OS_BSD_NET` http://en.wikipedia.org/wiki/Netbsd[NetBSD]
+* `BOOST_OS_BSD_OPEN` http://en.wikipedia.org/wiki/Openbsd[OpenBSD]
-[note The general `BOOST_OS_BSD` is set in all cases to indicate some form
-of BSD. If the above variants is detected the corresponding macro is also set.]
+NOTE: The general `BOOST_OS_BSD` is set in all cases to indicate some form
+of BSD. If the above variants is detected the corresponding macro is also set.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`BSD`] [__predef_detection__]]
- [[`_SYSTYPE_BSD`] [__predef_detection__]]
+| `BSD` | {predef_detection}
+| `+_SYSTYPE_BSD+` | {predef_detection}
- [[`BSD4_2`] [4.2.0]]
- [[`BSD4_3`] [4.3.0]]
- [[`BSD4_4`] [4.4.0]]
- [[`BSD`] [V.R.0]]
- ]
- */
+| `BSD4_2` | 4.2.0
+| `BSD4_3` | 4.3.0
+| `BSD4_4` | 4.4.0
+| `BSD` | V.R.0
+|===
+*/ // end::reference[]
#include <boost/predef/os/bsd/bsdi.h>
#include <boost/predef/os/bsd/dragonfly.h>
@@ -89,7 +90,7 @@ of BSD. If the above variants is detected the corresponding macro is also set.]
#define BOOST_OS_BSD_NAME "BSD"
-#else
+#endif
#include <boost/predef/os/bsd/bsdi.h>
#include <boost/predef/os/bsd/dragonfly.h>
@@ -97,7 +98,5 @@ of BSD. If the above variants is detected the corresponding macro is also set.]
#include <boost/predef/os/bsd/open.h>
#include <boost/predef/os/bsd/net.h>
-#endif
-
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD,BOOST_OS_BSD_NAME)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/bsd/bsdi.h b/contrib/restricted/boost/predef/include/boost/predef/os/bsd/bsdi.h
index afdcd3eb7c..d0a5dcd9f8 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/bsd/bsdi.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/bsd/bsdi.h
@@ -10,17 +10,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/os/bsd.h>
-/*`
-[heading `BOOST_OS_BSD_BSDI`]
+/* tag::reference[]
+= `BOOST_OS_BSD_BSDI`
-[@http://en.wikipedia.org/wiki/BSD/OS BSDi BSD/OS] operating system.
+http://en.wikipedia.org/wiki/BSD/OS[BSDi BSD/OS] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__bsdi__`] [__predef_detection__]]
- ]
- */
+| `+__bsdi__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -28,6 +29,7 @@ http://www.boost.org/LICENSE_1_0.txt)
defined(__bsdi__) \
)
# ifndef BOOST_OS_BSD_AVAILABLE
+# undef BOOST_OS_BSD
# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
# define BOOST_OS_BSD_AVAILABLE
# endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/bsd/dragonfly.h b/contrib/restricted/boost/predef/include/boost/predef/os/bsd/dragonfly.h
index 1d075798a1..4320777960 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/bsd/dragonfly.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/bsd/dragonfly.h
@@ -10,17 +10,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/os/bsd.h>
-/*`
-[heading `BOOST_OS_BSD_DRAGONFLY`]
+/* tag::reference[]
+= `BOOST_OS_BSD_DRAGONFLY`
-[@http://en.wikipedia.org/wiki/DragonFly_BSD DragonFly BSD] operating system.
+http://en.wikipedia.org/wiki/DragonFly_BSD[DragonFly BSD] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__DragonFly__`] [__predef_detection__]]
- ]
- */
+| `+__DragonFly__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_OS_BSD_DRAGONFLY BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -28,6 +29,7 @@ http://www.boost.org/LICENSE_1_0.txt)
defined(__DragonFly__) \
)
# ifndef BOOST_OS_BSD_AVAILABLE
+# undef BOOST_OS_BSD
# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
# define BOOST_OS_BSD_AVAILABLE
# endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/bsd/free.h b/contrib/restricted/boost/predef/include/boost/predef/os/bsd/free.h
index 81c002109d..4098b3a354 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/bsd/free.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/bsd/free.h
@@ -10,19 +10,20 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/os/bsd.h>
-/*`
-[heading `BOOST_OS_BSD_FREE`]
+/* tag::reference[]
+= `BOOST_OS_BSD_FREE`
-[@http://en.wikipedia.org/wiki/Freebsd FreeBSD] operating system.
+http://en.wikipedia.org/wiki/Freebsd[FreeBSD] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__FreeBSD__`] [__predef_detection__]]
+| `+__FreeBSD__+` | {predef_detection}
- [[`__FreeBSD_version`] [V.R.P]]
- ]
- */
+| `+__FreeBSD_version+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_OS_BSD_FREE BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -30,6 +31,7 @@ http://www.boost.org/LICENSE_1_0.txt)
defined(__FreeBSD__) \
)
# ifndef BOOST_OS_BSD_AVAILABLE
+# undef BOOST_OS_BSD
# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
# define BOOST_OS_BSD_AVAILABLE
# endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/bsd/net.h b/contrib/restricted/boost/predef/include/boost/predef/os/bsd/net.h
index 387cbde54f..537f16a14f 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/bsd/net.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/bsd/net.h
@@ -10,24 +10,25 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/os/bsd.h>
-/*`
-[heading `BOOST_OS_BSD_NET`]
+/* tag::reference[]
+= `BOOST_OS_BSD_NET`
-[@http://en.wikipedia.org/wiki/Netbsd NetBSD] operating system.
+http://en.wikipedia.org/wiki/Netbsd[NetBSD] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__NETBSD__`] [__predef_detection__]]
- [[`__NetBSD__`] [__predef_detection__]]
+| `+__NETBSD__+` | {predef_detection}
+| `+__NetBSD__+` | {predef_detection}
- [[`__NETBSD_version`] [V.R.P]]
- [[`NetBSD0_8`] [0.8.0]]
- [[`NetBSD0_9`] [0.9.0]]
- [[`NetBSD1_0`] [1.0.0]]
- [[`__NetBSD_Version`] [V.R.P]]
- ]
- */
+| `+__NETBSD_version+` | V.R.P
+| `NetBSD0_8` | 0.8.0
+| `NetBSD0_9` | 0.9.0
+| `NetBSD1_0` | 1.0.0
+| `+__NetBSD_Version+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -35,6 +36,7 @@ http://www.boost.org/LICENSE_1_0.txt)
defined(__NETBSD__) || defined(__NetBSD__) \
)
# ifndef BOOST_OS_BSD_AVAILABLE
+# undef BOOST_OS_BSD
# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
# define BOOST_OS_BSD_AVAILABLE
# endif
@@ -76,7 +78,7 @@ http://www.boost.org/LICENSE_1_0.txt)
# include <boost/predef/detail/os_detected.h>
#endif
-#define BOOST_OS_BSD_NET_NAME "DragonFly BSD"
+#define BOOST_OS_BSD_NET_NAME "NetBSD"
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/bsd/open.h b/contrib/restricted/boost/predef/include/boost/predef/os/bsd/open.h
index f6ccd24a9b..34f0a71a00 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/bsd/open.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/bsd/open.h
@@ -10,68 +10,69 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/os/bsd.h>
-/*`
-[heading `BOOST_OS_BSD_OPEN`]
+/* tag::reference[]
+= `BOOST_OS_BSD_OPEN`
-[@http://en.wikipedia.org/wiki/Openbsd OpenBSD] operating system.
+http://en.wikipedia.org/wiki/Openbsd[OpenBSD] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__OpenBSD__`] [__predef_detection__]]
+| `+__OpenBSD__+` | {predef_detection}
- [[`OpenBSD2_0`] [2.0.0]]
- [[`OpenBSD2_1`] [2.1.0]]
- [[`OpenBSD2_2`] [2.2.0]]
- [[`OpenBSD2_3`] [2.3.0]]
- [[`OpenBSD2_4`] [2.4.0]]
- [[`OpenBSD2_5`] [2.5.0]]
- [[`OpenBSD2_6`] [2.6.0]]
- [[`OpenBSD2_7`] [2.7.0]]
- [[`OpenBSD2_8`] [2.8.0]]
- [[`OpenBSD2_9`] [2.9.0]]
- [[`OpenBSD3_0`] [3.0.0]]
- [[`OpenBSD3_1`] [3.1.0]]
- [[`OpenBSD3_2`] [3.2.0]]
- [[`OpenBSD3_3`] [3.3.0]]
- [[`OpenBSD3_4`] [3.4.0]]
- [[`OpenBSD3_5`] [3.5.0]]
- [[`OpenBSD3_6`] [3.6.0]]
- [[`OpenBSD3_7`] [3.7.0]]
- [[`OpenBSD3_8`] [3.8.0]]
- [[`OpenBSD3_9`] [3.9.0]]
- [[`OpenBSD4_0`] [4.0.0]]
- [[`OpenBSD4_1`] [4.1.0]]
- [[`OpenBSD4_2`] [4.2.0]]
- [[`OpenBSD4_3`] [4.3.0]]
- [[`OpenBSD4_4`] [4.4.0]]
- [[`OpenBSD4_5`] [4.5.0]]
- [[`OpenBSD4_6`] [4.6.0]]
- [[`OpenBSD4_7`] [4.7.0]]
- [[`OpenBSD4_8`] [4.8.0]]
- [[`OpenBSD4_9`] [4.9.0]]
- [[`OpenBSD5_0`] [5.0.0]]
- [[`OpenBSD5_1`] [5.1.0]]
- [[`OpenBSD5_2`] [5.2.0]]
- [[`OpenBSD5_3`] [5.3.0]]
- [[`OpenBSD5_4`] [5.4.0]]
- [[`OpenBSD5_5`] [5.5.0]]
- [[`OpenBSD5_6`] [5.6.0]]
- [[`OpenBSD5_7`] [5.7.0]]
- [[`OpenBSD5_8`] [5.8.0]]
- [[`OpenBSD5_9`] [5.9.0]]
- [[`OpenBSD6_0`] [6.0.0]]
- [[`OpenBSD6_1`] [6.1.0]]
- [[`OpenBSD6_2`] [6.2.0]]
- [[`OpenBSD6_3`] [6.3.0]]
- [[`OpenBSD6_4`] [6.4.0]]
- [[`OpenBSD6_5`] [6.5.0]]
- [[`OpenBSD6_6`] [6.6.0]]
- [[`OpenBSD6_7`] [6.7.0]]
- [[`OpenBSD6_8`] [6.8.0]]
- [[`OpenBSD6_9`] [6.9.0]]
- ]
- */
+| `OpenBSD2_0` | 2.0.0
+| `OpenBSD2_1` | 2.1.0
+| `OpenBSD2_2` | 2.2.0
+| `OpenBSD2_3` | 2.3.0
+| `OpenBSD2_4` | 2.4.0
+| `OpenBSD2_5` | 2.5.0
+| `OpenBSD2_6` | 2.6.0
+| `OpenBSD2_7` | 2.7.0
+| `OpenBSD2_8` | 2.8.0
+| `OpenBSD2_9` | 2.9.0
+| `OpenBSD3_0` | 3.0.0
+| `OpenBSD3_1` | 3.1.0
+| `OpenBSD3_2` | 3.2.0
+| `OpenBSD3_3` | 3.3.0
+| `OpenBSD3_4` | 3.4.0
+| `OpenBSD3_5` | 3.5.0
+| `OpenBSD3_6` | 3.6.0
+| `OpenBSD3_7` | 3.7.0
+| `OpenBSD3_8` | 3.8.0
+| `OpenBSD3_9` | 3.9.0
+| `OpenBSD4_0` | 4.0.0
+| `OpenBSD4_1` | 4.1.0
+| `OpenBSD4_2` | 4.2.0
+| `OpenBSD4_3` | 4.3.0
+| `OpenBSD4_4` | 4.4.0
+| `OpenBSD4_5` | 4.5.0
+| `OpenBSD4_6` | 4.6.0
+| `OpenBSD4_7` | 4.7.0
+| `OpenBSD4_8` | 4.8.0
+| `OpenBSD4_9` | 4.9.0
+| `OpenBSD5_0` | 5.0.0
+| `OpenBSD5_1` | 5.1.0
+| `OpenBSD5_2` | 5.2.0
+| `OpenBSD5_3` | 5.3.0
+| `OpenBSD5_4` | 5.4.0
+| `OpenBSD5_5` | 5.5.0
+| `OpenBSD5_6` | 5.6.0
+| `OpenBSD5_7` | 5.7.0
+| `OpenBSD5_8` | 5.8.0
+| `OpenBSD5_9` | 5.9.0
+| `OpenBSD6_0` | 6.0.0
+| `OpenBSD6_1` | 6.1.0
+| `OpenBSD6_2` | 6.2.0
+| `OpenBSD6_3` | 6.3.0
+| `OpenBSD6_4` | 6.4.0
+| `OpenBSD6_5` | 6.5.0
+| `OpenBSD6_6` | 6.6.0
+| `OpenBSD6_7` | 6.7.0
+| `OpenBSD6_8` | 6.8.0
+| `OpenBSD6_9` | 6.9.0
+|===
+*/ // end::reference[]
#define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -79,6 +80,7 @@ http://www.boost.org/LICENSE_1_0.txt)
defined(__OpenBSD__) \
)
# ifndef BOOST_OS_BSD_AVAILABLE
+# undef BOOST_OS_BSD
# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
# define BOOST_OS_BSD_AVAILABLE
# endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/cygwin.h b/contrib/restricted/boost/predef/include/boost/predef/os/cygwin.h
index 9d36f0f317..3ca73d26d5 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/cygwin.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/cygwin.h
@@ -11,25 +11,31 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_CYGWIN`]
+/* tag::reference[]
+= `BOOST_OS_CYGWIN`
-[@http://en.wikipedia.org/wiki/Cygwin Cygwin] evironment.
+http://en.wikipedia.org/wiki/Cygwin[Cygwin] evironment.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__CYGWIN__`] [__predef_detection__]]
- ]
- */
+| `+__CYGWIN__+` | {predef_detection}
+
+| `CYGWIN_VERSION_API_MAJOR`, `CYGWIN_VERSION_API_MINOR` | V.R.0
+|===
+*/ // end::reference[]
#define BOOST_OS_CYGWIN BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
defined(__CYGWIN__) \
)
+# include <cygwin/version.h>
# undef BOOST_OS_CYGWIN
-# define BOOST_OS_CYGWIN BOOST_VERSION_NUMBER_AVAILABLE
+# define BOOST_OS_CYGWIN \
+ BOOST_VERSION_NUMBER(CYGWIN_VERSION_API_MAJOR,\
+ CYGWIN_VERSION_API_MINOR, 0)
#endif
#if BOOST_OS_CYGWIN
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/haiku.h b/contrib/restricted/boost/predef/include/boost/predef/os/haiku.h
index d79dbeac88..4ae31583de 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/haiku.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/haiku.h
@@ -12,17 +12,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_HAIKU`]
+/* tag::reference[]
+= `BOOST_OS_HAIKU`
-[@http://en.wikipedia.org/wiki/Haiku_(operating_system) Haiku] operating system.
+http://en.wikipedia.org/wiki/Haiku_(operating_system)[Haiku] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__HAIKU__`] [__predef_detection__]]
- ]
- */
+| `+__HAIKU__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_OS_HAIKU BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/hpux.h b/contrib/restricted/boost/predef/include/boost/predef/os/hpux.h
index 29243f4879..7901914824 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/hpux.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/hpux.h
@@ -11,19 +11,20 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_HPUX`]
+/* tag::reference[]
+= `BOOST_OS_HPUX`
-[@http://en.wikipedia.org/wiki/HP-UX HP-UX] operating system.
+http://en.wikipedia.org/wiki/HP-UX[HP-UX] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`hpux`] [__predef_detection__]]
- [[`_hpux`] [__predef_detection__]]
- [[`__hpux`] [__predef_detection__]]
- ]
- */
+| `hpux` | {predef_detection}
+| `+_hpux+` | {predef_detection}
+| `+__hpux+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_OS_HPUX BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/ios.h b/contrib/restricted/boost/predef/include/boost/predef/os/ios.h
index f853815a6d..138963afaa 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/ios.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/ios.h
@@ -12,21 +12,22 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_IOS`]
+/* tag::reference[]
+= `BOOST_OS_IOS`
-[@http://en.wikipedia.org/wiki/iOS iOS] operating system.
+http://en.wikipedia.org/wiki/iOS[iOS] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__APPLE__`] [__predef_detection__]]
- [[`__MACH__`] [__predef_detection__]]
- [[`__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__`] [__predef_detection__]]
+| `+__APPLE__+` | {predef_detection}
+| `+__MACH__+` | {predef_detection}
+| `+__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__+` | {predef_detection}
- [[`__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__`] [__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__*1000]]
- ]
- */
+| `+__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__+` | +__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__+*1000
+|===
+*/ // end::reference[]
#define BOOST_OS_IOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/irix.h b/contrib/restricted/boost/predef/include/boost/predef/os/irix.h
index fa6ac41dcd..7c0bab04ea 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/irix.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/irix.h
@@ -11,18 +11,19 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_IRIX`]
+/* tag::reference[]
+= `BOOST_OS_IRIX`
-[@http://en.wikipedia.org/wiki/Irix IRIX] operating system.
+http://en.wikipedia.org/wiki/Irix[IRIX] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`sgi`] [__predef_detection__]]
- [[`__sgi`] [__predef_detection__]]
- ]
- */
+| `sgi` | {predef_detection}
+| `+__sgi+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_OS_IRIX BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/linux.h b/contrib/restricted/boost/predef/include/boost/predef/os/linux.h
index a297d08954..bab64fc4a8 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/linux.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/linux.h
@@ -11,23 +11,27 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_LINUX`]
+/* tag::reference[]
+= `BOOST_OS_LINUX`
-[@http://en.wikipedia.org/wiki/Linux Linux] operating system.
+http://en.wikipedia.org/wiki/Linux[Linux] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`linux`] [__predef_detection__]]
- [[`__linux`] [__predef_detection__]]
- ]
- */
+| `linux` | {predef_detection}
+| `+__linux+` | {predef_detection}
+| `+__linux__+` | {predef_detection}
+| `+__gnu_linux__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_OS_LINUX BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
- defined(linux) || defined(__linux) \
+ defined(linux) || defined(__linux) || \
+ defined(__linux__) || defined(__gnu_linux__) \
)
# undef BOOST_OS_LINUX
# define BOOST_OS_LINUX BOOST_VERSION_NUMBER_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/macos.h b/contrib/restricted/boost/predef/include/boost/predef/os/macos.h
index 4afb30d087..1a44318462 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/macos.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/macos.h
@@ -19,23 +19,24 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_MACOS`]
+/* tag::reference[]
+= `BOOST_OS_MACOS`
-[@http://en.wikipedia.org/wiki/Mac_OS Mac OS] operating system.
+http://en.wikipedia.org/wiki/Mac_OS[Mac OS] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`macintosh`] [__predef_detection__]]
- [[`Macintosh`] [__predef_detection__]]
- [[`__APPLE__`] [__predef_detection__]]
- [[`__MACH__`] [__predef_detection__]]
+| `macintosh` | {predef_detection}
+| `Macintosh` | {predef_detection}
+| `+__APPLE__+` | {predef_detection}
+| `+__MACH__+` | {predef_detection}
- [[`__APPLE__`, `__MACH__`] [10.0.0]]
- [[ /otherwise/ ] [9.0.0]]
- ]
- */
+| `+__APPLE__+`, `+__MACH__+` | 10.0.0
+| `_otherwise_` | 9.0.0
+|===
+*/ // end::reference[]
#define BOOST_OS_MACOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/os400.h b/contrib/restricted/boost/predef/include/boost/predef/os/os400.h
index b3446c26c9..209638d114 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/os400.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/os400.h
@@ -11,17 +11,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_OS400`]
+/* tag::reference[]
+= `BOOST_OS_OS400`
-[@http://en.wikipedia.org/wiki/IBM_i IBM OS/400] operating system.
+http://en.wikipedia.org/wiki/IBM_i[IBM OS/400] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__OS400__`] [__predef_detection__]]
- ]
- */
+| `+__OS400__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_OS_OS400 BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/qnxnto.h b/contrib/restricted/boost/predef/include/boost/predef/os/qnxnto.h
index e76fbf2781..7507cd08f5 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/qnxnto.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/qnxnto.h
@@ -11,23 +11,24 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_QNX`]
+/* tag::reference[]
+= `BOOST_OS_QNX`
-[@http://en.wikipedia.org/wiki/QNX QNX] operating system.
+http://en.wikipedia.org/wiki/QNX[QNX] operating system.
Version number available as major, and minor if possible. And
version 4 is specifically detected.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__QNX__`] [__predef_detection__]]
- [[`__QNXNTO__`] [__predef_detection__]]
+| `+__QNX__+` | {predef_detection}
+| `+__QNXNTO__+` | {predef_detection}
- [[`_NTO_VERSION`] [V.R.0]]
- [[`__QNX__`] [4.0.0]]
- ]
- */
+| `+_NTO_VERSION+` | V.R.0
+| `+__QNX__+` | 4.0.0
+|===
+*/ // end::reference[]
#define BOOST_OS_QNX BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/solaris.h b/contrib/restricted/boost/predef/include/boost/predef/os/solaris.h
index 75ddc91dae..529af2b3b4 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/solaris.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/solaris.h
@@ -11,18 +11,19 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_SOLARIS`]
+/* tag::reference[]
+= `BOOST_OS_SOLARIS`
-[@http://en.wikipedia.org/wiki/Solaris_Operating_Environment Solaris] operating system.
+http://en.wikipedia.org/wiki/Solaris_Operating_Environment[Solaris] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`sun`] [__predef_detection__]]
- [[`__sun`] [__predef_detection__]]
- ]
- */
+| `sun` | {predef_detection}
+| `+__sun+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_OS_SOLARIS BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/unix.h b/contrib/restricted/boost/predef/include/boost/predef/os/unix.h
index a60710427a..b86051dd5f 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/unix.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/unix.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_UNIX`]
+/* tag::reference[]
+= `BOOST_OS_UNIX`
-[@http://en.wikipedia.org/wiki/Unix Unix Environment] operating system.
+http://en.wikipedia.org/wiki/Unix[Unix Environment] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`unix`] [__predef_detection__]]
- [[`__unix`] [__predef_detection__]]
- [[`_XOPEN_SOURCE`] [__predef_detection__]]
- [[`_POSIX_SOURCE`] [__predef_detection__]]
- ]
- */
+| `unix` | {predef_detection}
+| `+__unix+` | {predef_detection}
+| `+_XOPEN_SOURCE+` | {predef_detection}
+| `+_POSIX_SOURCE+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_OS_UNIX BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -40,20 +41,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_OS_UNIX_NAME "Unix Environment"
-/*`
-[heading `BOOST_OS_SVR4`]
+/* tag::reference[]
+= `BOOST_OS_SVR4`
-[@http://en.wikipedia.org/wiki/UNIX_System_V SVR4 Environment] operating system.
+http://en.wikipedia.org/wiki/UNIX_System_V[SVR4 Environment] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__sysv__`] [__predef_detection__]]
- [[`__SVR4`] [__predef_detection__]]
- [[`__svr4__`] [__predef_detection__]]
- [[`_SYSTYPE_SVR4`] [__predef_detection__]]
- ]
- */
+| `+__sysv__+` | {predef_detection}
+| `+__SVR4+` | {predef_detection}
+| `+__svr4__+` | {predef_detection}
+| `+_SYSTYPE_SVR4+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_OS_SVR4 BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/vms.h b/contrib/restricted/boost/predef/include/boost/predef/os/vms.h
index 2f8f786d4e..7db6118169 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/vms.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/vms.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_VMS`]
+/* tag::reference[]
+= `BOOST_OS_VMS`
-[@http://en.wikipedia.org/wiki/Vms VMS] operating system.
+http://en.wikipedia.org/wiki/Vms[VMS] operating system.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`VMS`] [__predef_detection__]]
- [[`__VMS`] [__predef_detection__]]
+| `VMS` | {predef_detection}
+| `+__VMS+` | {predef_detection}
- [[`__VMS_VER`] [V.R.P]]
- ]
- */
+| `+__VMS_VER+` | V.R.P
+|===
+*/ // end::reference[]
#define BOOST_OS_VMS BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/windows.h b/contrib/restricted/boost/predef/include/boost/predef/os/windows.h
index 9db4390950..d8d2d2b2d3 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/windows.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/windows.h
@@ -11,21 +11,22 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_OS_WINDOWS`]
-
-[@http://en.wikipedia.org/wiki/Category:Microsoft_Windows Microsoft Windows] operating system.
-
-[table
- [[__predef_symbol__] [__predef_version__]]
-
- [[`_WIN32`] [__predef_detection__]]
- [[`_WIN64`] [__predef_detection__]]
- [[`__WIN32__`] [__predef_detection__]]
- [[`__TOS_WIN__`] [__predef_detection__]]
- [[`__WINDOWS__`] [__predef_detection__]]
- ]
- */
+/* tag::reference[]
+= `BOOST_OS_WINDOWS`
+
+http://en.wikipedia.org/wiki/Category:Microsoft_Windows[Microsoft Windows] operating system.
+
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
+
+| `+_WIN32+` | {predef_detection}
+| `+_WIN64+` | {predef_detection}
+| `+__WIN32__+` | {predef_detection}
+| `+__TOS_WIN__+` | {predef_detection}
+| `+__WINDOWS__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_OS_WINDOWS BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/other.h b/contrib/restricted/boost/predef/include/boost/predef/other.h
index c09ad4945f..dc7e341e01 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/other.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/other.h
@@ -1,5 +1,5 @@
/*
-Copyright Rene Rivera 2013-2015
+Copyright Rene Ferdinand Rivera Morell 2013-2020
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)
@@ -11,6 +11,7 @@ http://www.boost.org/LICENSE_1_0.txt)
#endif
#include <boost/predef/other/endian.h>
-/*#include <boost/predef/other/.h>*/
+#include <boost/predef/other/wordsize.h>
+#include <boost/predef/other/workaround.h>
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/other/endian.h b/contrib/restricted/boost/predef/include/boost/predef/other/endian.h
index 6d1f43ff4d..435492a071 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/other/endian.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/other/endian.h
@@ -13,10 +13,10 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/library/c/gnu.h>
#include <boost/predef/os/macos.h>
#include <boost/predef/os/bsd.h>
-#include <boost/predef/os/android.h>
+#include <boost/predef/platform/android.h>
-/*`
-[heading `BOOST_ENDIAN_*`]
+/* tag::reference[]
+= `BOOST_ENDIAN_*`
Detection of endian memory ordering. There are four defined macros
in this header that define the various generally possible endian
@@ -37,12 +37,12 @@ programatic bi-endianness is available.
This implementation is a compilation of various publicly available
information and acquired knowledge:
-# The indispensable documentation of "Pre-defined Compiler Macros"
- [@http://sourceforge.net/p/predef/wiki/Endianness Endianness].
-# The various endian specifications available in the
- [@http://wikipedia.org/ Wikipedia] computer architecture pages.
-# Generally available searches for headers that define endianness.
- */
+. The indispensable documentation of "Pre-defined Compiler Macros"
+ http://sourceforge.net/p/predef/wiki/Endianness[Endianness].
+. The various endian specifications available in the
+ http://wikipedia.org/[Wikipedia] computer architecture pages.
+. Generally available searches for headers that define endianness.
+*/ // end::reference[]
#define BOOST_ENDIAN_BIG_BYTE BOOST_VERSION_NUMBER_NOT_AVAILABLE
#define BOOST_ENDIAN_BIG_WORD BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -54,18 +54,14 @@ information and acquired knowledge:
*/
#if !BOOST_ENDIAN_BIG_BYTE && !BOOST_ENDIAN_BIG_WORD && \
!BOOST_ENDIAN_LITTLE_BYTE && !BOOST_ENDIAN_LITTLE_WORD
-# if BOOST_LIB_C_GNU || BOOST_OS_ANDROID
+# if BOOST_LIB_C_GNU || BOOST_PLAT_ANDROID || BOOST_OS_BSD_OPEN
# include <endian.h>
# else
# if BOOST_OS_MACOS
# include <machine/endian.h>
# else
# if BOOST_OS_BSD
-# if BOOST_OS_BSD_OPEN
-# include <machine/endian.h>
-# else
-# include <sys/endian.h>
-# endif
+# include <sys/endian.h>
# endif
# endif
# endif
@@ -99,7 +95,7 @@ information and acquired knowledge:
# endif
#endif
-/* Built-in byte-swpped big-endian macros.
+/* Built-in byte-swapped big-endian macros.
*/
#if !BOOST_ENDIAN_BIG_BYTE && !BOOST_ENDIAN_BIG_WORD && \
!BOOST_ENDIAN_LITTLE_BYTE && !BOOST_ENDIAN_LITTLE_WORD
@@ -116,7 +112,7 @@ information and acquired knowledge:
# endif
#endif
-/* Built-in byte-swpped little-endian macros.
+/* Built-in byte-swapped little-endian macros.
*/
#if !BOOST_ENDIAN_BIG_BYTE && !BOOST_ENDIAN_BIG_WORD && \
!BOOST_ENDIAN_LITTLE_BYTE && !BOOST_ENDIAN_LITTLE_WORD
@@ -125,9 +121,12 @@ information and acquired knowledge:
defined(__ARMEL__) || \
defined(__THUMBEL__) || \
defined(__AARCH64EL__) || \
+ defined(__loongarch__) || \
defined(_MIPSEL) || \
defined(__MIPSEL) || \
- defined(__MIPSEL__)
+ defined(__MIPSEL__) || \
+ defined(__riscv) || \
+ defined(__e2k__)
# undef BOOST_ENDIAN_LITTLE_BYTE
# define BOOST_ENDIAN_LITTLE_BYTE BOOST_VERSION_NUMBER_AVAILABLE
# endif
@@ -148,8 +147,7 @@ information and acquired knowledge:
# undef BOOST_ENDIAN_BIG_BYTE
# define BOOST_ENDIAN_BIG_BYTE BOOST_VERSION_NUMBER_AVAILABLE
# endif
-# if BOOST_ARCH_AMD64 || \
- BOOST_ARCH_IA64 || \
+# if BOOST_ARCH_IA64 || \
BOOST_ARCH_X86 || \
BOOST_ARCH_BLACKFIN
# undef BOOST_ENDIAN_LITTLE_BYTE
@@ -158,7 +156,7 @@ information and acquired knowledge:
#endif
/* Windows on ARM, if not otherwise detected/specified, is always
- * byte-swaped little-endian.
+ * byte-swapped little-endian.
*/
#if !BOOST_ENDIAN_BIG_BYTE && !BOOST_ENDIAN_BIG_WORD && \
!BOOST_ENDIAN_LITTLE_BYTE && !BOOST_ENDIAN_LITTLE_WORD
diff --git a/contrib/restricted/boost/predef/include/boost/predef/other/wordsize.h b/contrib/restricted/boost/predef/include/boost/predef/other/wordsize.h
new file mode 100644
index 0000000000..ce3016febd
--- /dev/null
+++ b/contrib/restricted/boost/predef/include/boost/predef/other/wordsize.h
@@ -0,0 +1,73 @@
+/*
+Copyright Rene Ferdinand Rivera Morell 2020-2021
+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)
+*/
+
+#ifndef BOOST_PREDEF_OTHER_WORD_SIZE_H
+#define BOOST_PREDEF_OTHER_WORD_SIZE_H
+
+#include <boost/predef/architecture.h>
+#include <boost/predef/version_number.h>
+#include <boost/predef/make.h>
+
+/* tag::reference[]
+= `BOOST_ARCH_WORD_BITS`
+
+Detects the native word size, in bits, for the current architecture. There are
+two types of macros for this detection:
+
+* `BOOST_ARCH_WORD_BITS`, gives the number of word size bits
+ (16, 32, 64).
+* `BOOST_ARCH_WORD_BITS_16`, `BOOST_ARCH_WORD_BITS_32`, and
+ `BOOST_ARCH_WORD_BITS_64`, indicate when the given word size is
+ detected.
+
+They allow for both single checks and direct use of the size in code.
+
+NOTE: The word size is determined manually on each architecture. Hence use of
+the `wordsize.h` header will also include all the architecture headers.
+
+*/ // end::reference[]
+
+#if !defined(BOOST_ARCH_WORD_BITS_64)
+# define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_NOT_AVAILABLE
+#elif !defined(BOOST_ARCH_WORD_BITS)
+# define BOOST_ARCH_WORD_BITS 64
+#endif
+
+#if !defined(BOOST_ARCH_WORD_BITS_32)
+# define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_NOT_AVAILABLE
+#elif !defined(BOOST_ARCH_WORD_BITS)
+# define BOOST_ARCH_WORD_BITS 32
+#endif
+
+#if !defined(BOOST_ARCH_WORD_BITS_16)
+# define BOOST_ARCH_WORD_BITS_16 BOOST_VERSION_NUMBER_NOT_AVAILABLE
+#elif !defined(BOOST_ARCH_WORD_BITS)
+# define BOOST_ARCH_WORD_BITS 16
+#endif
+
+#if !defined(BOOST_ARCH_WORD_BITS)
+# define BOOST_ARCH_WORD_BITS 0
+#endif
+
+#define BOOST_ARCH_WORD_BITS_NAME "Word Bits"
+#define BOOST_ARCH_WORD_BITS_16_NAME "16-bit Word Size"
+#define BOOST_ARCH_WORD_BITS_32_NAME "32-bit Word Size"
+#define BOOST_ARCH_WORD_BITS_64_NAME "64-bit Word Size"
+
+#endif
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_WORD_BITS,BOOST_ARCH_WORD_BITS_NAME)
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_WORD_BITS_16,BOOST_ARCH_WORD_BITS_16_NAME)
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_WORD_BITS_32,BOOST_ARCH_WORD_BITS_32_NAME)
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_WORD_BITS_64,BOOST_ARCH_WORD_BITS_64_NAME)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/other/workaround.h b/contrib/restricted/boost/predef/include/boost/predef/other/workaround.h
new file mode 100644
index 0000000000..21f04d3f53
--- /dev/null
+++ b/contrib/restricted/boost/predef/include/boost/predef/other/workaround.h
@@ -0,0 +1,95 @@
+/*
+Copyright Rene Rivera 2017
+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)
+*/
+
+#ifndef BOOST_PREDEF_WORKAROUND_H
+#define BOOST_PREDEF_WORKAROUND_H
+
+/* tag::reference[]
+
+= `BOOST_PREDEF_WORKAROUND`
+
+[source]
+----
+BOOST_PREDEF_WORKAROUND(symbol,comp,major,minor,patch)
+----
+
+Usage:
+
+[source]
+----
+#if BOOST_PREDEF_WORKAROUND(BOOST_COMP_CLANG,<,3,0,0)
+ // Workaround for old clang compilers..
+#endif
+----
+
+Defines a comparison against two version numbers that depends on the definion
+of `BOOST_STRICT_CONFIG`. When `BOOST_STRICT_CONFIG` is defined this will expand
+to a value convertible to `false`. Which has the effect of disabling all code
+conditionally guarded by `BOOST_PREDEF_WORKAROUND`. When `BOOST_STRICT_CONFIG`
+is undefine this expand to test the given `symbol` version value with the
+`comp` comparison against `BOOST_VERSION_NUMBER(major,minor,patch)`.
+
+*/ // end::reference[]
+#ifdef BOOST_STRICT_CONFIG
+# define BOOST_PREDEF_WORKAROUND(symbol, comp, major, minor, patch) (0)
+#else
+# include <boost/predef/version_number.h>
+# define BOOST_PREDEF_WORKAROUND(symbol, comp, major, minor, patch) \
+ ( (symbol) != (0) ) && \
+ ( (symbol) comp (BOOST_VERSION_NUMBER( (major) , (minor) , (patch) )) )
+#endif
+
+/* tag::reference[]
+
+= `BOOST_PREDEF_TESTED_AT`
+
+[source]
+----
+BOOST_PREDEF_TESTED_AT(symbol,major,minor,patch)
+----
+
+Usage:
+
+[source]
+----
+#if BOOST_PREDEF_TESTED_AT(BOOST_COMP_CLANG,3,5,0)
+ // Needed for clang, and last checked for 3.5.0.
+#endif
+----
+
+Defines a comparison against two version numbers that depends on the definion
+of `BOOST_STRICT_CONFIG` and `BOOST_DETECT_OUTDATED_WORKAROUNDS`.
+When `BOOST_STRICT_CONFIG` is defined this will expand to a value convertible
+to `false`. Which has the effect of disabling all code
+conditionally guarded by `BOOST_PREDEF_TESTED_AT`. When `BOOST_STRICT_CONFIG`
+is undefined this expand to either:
+
+* A value convertible to `true` when `BOOST_DETECT_OUTDATED_WORKAROUNDS` is not
+ defined.
+* A value convertible `true` when the expansion of
+ `BOOST_PREDEF_WORKAROUND(symbol, <=, major, minor, patch)` is `true` and
+ `BOOST_DETECT_OUTDATED_WORKAROUNDS` is defined.
+* A compile error when the expansion of
+ `BOOST_PREDEF_WORKAROUND(symbol, >, major, minor, patch)` is true and
+ `BOOST_DETECT_OUTDATED_WORKAROUNDS` is defined.
+
+*/ // end::reference[]
+#ifdef BOOST_STRICT_CONFIG
+# define BOOST_PREDEF_TESTED_AT(symbol, major, minor, patch) (0)
+#else
+# ifdef BOOST_DETECT_OUTDATED_WORKAROUNDS
+# define BOOST_PREDEF_TESTED_AT(symbol, major, minor, patch) ( \
+ BOOST_PREDEF_WORKAROUND(symbol, <=, major, minor, patch) \
+ ? 1 \
+ : (1%0) )
+# else
+# define BOOST_PREDEF_TESTED_AT(symbol, major, minor, patch) \
+ ( (symbol) >= BOOST_VERSION_NUMBER_AVAILABLE )
+# endif
+#endif
+
+#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform.h b/contrib/restricted/boost/predef/include/boost/predef/platform.h
index 6c366d595c..756d65fd9b 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/platform.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform.h
@@ -11,6 +11,7 @@ http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_PREDEF_PLATFORM_H
#endif
+#include <boost/predef/platform/android.h>
#include <boost/predef/platform/cloudabi.h>
#include <boost/predef/platform/mingw.h>
#include <boost/predef/platform/mingw32.h>
@@ -23,6 +24,5 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/platform/windows_system.h>
#include <boost/predef/platform/windows_runtime.h> // deprecated
#include <boost/predef/platform/ios.h>
-/*#include <boost/predef/platform/.h>*/
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform/android.h b/contrib/restricted/boost/predef/include/boost/predef/platform/android.h
new file mode 100644
index 0000000000..5acfcd386e
--- /dev/null
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform/android.h
@@ -0,0 +1,44 @@
+/*
+Copyright Rene Rivera 2015-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)
+*/
+
+#ifndef BOOST_PREDEF_PLAT_ANDROID_H
+#define BOOST_PREDEF_PLAT_ANDROID_H
+
+#include <boost/predef/version_number.h>
+#include <boost/predef/make.h>
+
+/* tag::reference[]
+= `BOOST_PLAT_ANDROID`
+
+http://en.wikipedia.org/wiki/Android_%28operating_system%29[Android] platform.
+
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
+
+| `+__ANDROID__+` | {predef_detection}
+|===
+*/ // end::reference[]
+
+#define BOOST_PLAT_ANDROID BOOST_VERSION_NUMBER_NOT_AVAILABLE
+
+#if defined(__ANDROID__)
+# undef BOOST_PLAT_ANDROID
+# define BOOST_PLAT_ANDROID BOOST_VERSION_NUMBER_AVAILABLE
+#endif
+
+#if BOOST_PLAT_ANDROID
+# define BOOST_PLAT_ANDROID_AVAILABLE
+# include <boost/predef/detail/platform_detected.h>
+#endif
+
+#define BOOST_PLAT_ANDROID_NAME "Android"
+
+#endif
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_ANDROID,BOOST_PLAT_ANDROID_NAME)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform/cloudabi.h b/contrib/restricted/boost/predef/include/boost/predef/platform/cloudabi.h
index c44f689454..a951c0ef23 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/platform/cloudabi.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform/cloudabi.h
@@ -11,17 +11,18 @@
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_PLAT_CLOUDABI`]
+/* tag::reference[]
+= `BOOST_PLAT_CLOUDABI`
-[@https://github.com/NuxiNL/cloudabi CloudABI] platform.
+https://github.com/NuxiNL/cloudabi[CloudABI] platform.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__CloudABI__`] [__predef_detection__]]
- ]
- */
+| `+__CloudABI__+` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_PLAT_CLOUDABI BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform/ios.h b/contrib/restricted/boost/predef/include/boost/predef/platform/ios.h
index af1c364cf0..7d7c815f8e 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/platform/ios.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform/ios.h
@@ -12,16 +12,18 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/os/ios.h> // BOOST_OS_IOS
#include <boost/predef/version_number.h> // BOOST_VERSION_NUMBER_NOT_AVAILABLE
-/*`
-[heading `BOOST_PLAT_IOS_DEVICE`]
-[heading `BOOST_PLAT_IOS_SIMULATOR`]
+/* tag::reference[]
+= `BOOST_PLAT_IOS_DEVICE`
+= `BOOST_PLAT_IOS_SIMULATOR`
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`TARGET_IPHONE_SIMULATOR`] [__predef_detection__]]
- ]
- */
+| `TARGET_IPHONE_SIMULATOR` | {predef_detection}
+| `TARGET_OS_SIMULATOR` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_PLAT_IOS_DEVICE BOOST_VERSION_NUMBER_NOT_AVAILABLE
#define BOOST_PLAT_IOS_SIMULATOR BOOST_VERSION_NUMBER_NOT_AVAILABLE
@@ -29,7 +31,10 @@ http://www.boost.org/LICENSE_1_0.txt)
// https://opensource.apple.com/source/CarbonHeaders/CarbonHeaders-18.1/TargetConditionals.h
#if BOOST_OS_IOS
# include <TargetConditionals.h>
-# if TARGET_IPHONE_SIMULATOR == 1
+# if defined(TARGET_OS_SIMULATOR) && (TARGET_OS_SIMULATOR == 1)
+# undef BOOST_PLAT_IOS_SIMULATOR
+# define BOOST_PLAT_IOS_SIMULATOR BOOST_VERSION_NUMBER_AVAILABLE
+# elif defined(TARGET_IPHONE_SIMULATOR) && (TARGET_IPHONE_SIMULATOR == 1)
# undef BOOST_PLAT_IOS_SIMULATOR
# define BOOST_PLAT_IOS_SIMULATOR BOOST_VERSION_NUMBER_AVAILABLE
# else
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform/mingw.h b/contrib/restricted/boost/predef/include/boost/predef/platform/mingw.h
index c52827d7d8..0be00c61ea 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/platform/mingw.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform/mingw.h
@@ -11,22 +11,23 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_PLAT_MINGW`]
+/* tag::reference[]
+= `BOOST_PLAT_MINGW`
-[@http://en.wikipedia.org/wiki/MinGW MinGW] platform, either variety.
+http://en.wikipedia.org/wiki/MinGW[MinGW] platform, either variety.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__MINGW32__`] [__predef_detection__]]
- [[`__MINGW64__`] [__predef_detection__]]
+| `+__MINGW32__+` | {predef_detection}
+| `+__MINGW64__+` | {predef_detection}
- [[`__MINGW64_VERSION_MAJOR`, `__MINGW64_VERSION_MINOR`] [V.R.0]]
- [[`__MINGW32_VERSION_MAJOR`, `__MINGW32_VERSION_MINOR`] [V.R.0]]
- ]
- */
+| `+__MINGW64_VERSION_MAJOR+`, `+__MINGW64_VERSION_MINOR+` | V.R.0
+| `+__MINGW32_VERSION_MAJOR+`, `+__MINGW32_VERSION_MINOR+` | V.R.0
+|===
+*/ // end::reference[]
#define BOOST_PLAT_MINGW BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform/mingw32.h b/contrib/restricted/boost/predef/include/boost/predef/platform/mingw32.h
index ff90038b4c..73e99e685d 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/platform/mingw32.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform/mingw32.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_PLAT_MINGW32`]
+/* tag::reference[]
+= `BOOST_PLAT_MINGW32`
-[@http://www.mingw.org/ MinGW] platform.
+http://www.mingw.org/[MinGW] platform.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__MINGW32__`] [__predef_detection__]]
+| `+__MINGW32__+` | {predef_detection}
- [[`__MINGW32_VERSION_MAJOR`, `__MINGW32_VERSION_MINOR`] [V.R.0]]
- ]
- */
+| `+__MINGW32_VERSION_MAJOR+`, `+__MINGW32_VERSION_MINOR+` | V.R.0
+|===
+*/ // end::reference[]
#define BOOST_PLAT_MINGW32 BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform/mingw64.h b/contrib/restricted/boost/predef/include/boost/predef/platform/mingw64.h
index a35dd3e016..a49b195f4e 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/platform/mingw64.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform/mingw64.h
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
-/*`
-[heading `BOOST_PLAT_MINGW64`]
+/* tag::reference[]
+= `BOOST_PLAT_MINGW64`
-[@https://mingw-w64.org/ MinGW-w64] platform.
+https://mingw-w64.org/[MinGW-w64] platform.
Version number available as major, minor, and patch.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__MINGW64__`] [__predef_detection__]]
+| `+__MINGW64__+` | {predef_detection}
- [[`__MINGW64_VERSION_MAJOR`, `__MINGW64_VERSION_MINOR`] [V.R.0]]
- ]
- */
+| `+__MINGW64_VERSION_MAJOR+`, `+__MINGW64_VERSION_MINOR+` | V.R.0
+|===
+*/ // end::reference[]
#define BOOST_PLAT_MINGW64 BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_desktop.h b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_desktop.h
index afb39079a6..917c3395ef 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_desktop.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_desktop.h
@@ -14,20 +14,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/platform/windows_uwp.h>
#include <boost/predef/version_number.h>
-/*`
-[heading `BOOST_PLAT_WINDOWS_DESKTOP`]
+/* tag::reference[]
+= `BOOST_PLAT_WINDOWS_DESKTOP`
-[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
+https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
for Windows Desktop development. Also available if the Platform SDK is too
old to support UWP.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP`] [__predef_detection__]]
- [[`!BOOST_PLAT_WINDOWS_UWP`] [__predef_detection__]]
- ]
- */
+| `WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP` | {predef_detection}
+| `!BOOST_PLAT_WINDOWS_UWP` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_PLAT_WINDOWS_DESKTOP BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_phone.h b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_phone.h
index 0ebc76d276..cfb1b65e2e 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_phone.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_phone.h
@@ -14,18 +14,19 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/platform/windows_uwp.h>
#include <boost/predef/version_number.h>
-/*`
-[heading `BOOST_PLAT_WINDOWS_PHONE`]
+/* tag::reference[]
+= `BOOST_PLAT_WINDOWS_PHONE`
-[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
+https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
for Windows Phone development.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP`] [__predef_detection__]]
- ]
- */
+| `WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_PLAT_WINDOWS_PHONE BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_runtime.h b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_runtime.h
index e7978d7525..44542d61aa 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_runtime.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_runtime.h
@@ -15,22 +15,23 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/platform/windows_store.h>
#include <boost/predef/version_number.h>
-/*`
-[heading `BOOST_PLAT_WINDOWS_RUNTIME`]
+/* tag::reference[]
+= `BOOST_PLAT_WINDOWS_RUNTIME`
Deprecated.
-[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
+https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
for Windows Phone or Store development. This does not align to the existing development model for
UWP and is deprecated. Use one of the other `BOOST_PLAT_WINDOWS_*`definitions instead.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`BOOST_PLAT_WINDOWS_PHONE`] [__predef_detection__]]
- [[`BOOST_PLAT_WINDOWS_STORE`] [__predef_detection__]]
- ]
- */
+| `BOOST_PLAT_WINDOWS_PHONE` | {predef_detection}
+| `BOOST_PLAT_WINDOWS_STORE` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_PLAT_WINDOWS_RUNTIME BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_server.h b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_server.h
index 7bd629da34..f0e3dc0bbb 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_server.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_server.h
@@ -13,18 +13,19 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/platform/windows_uwp.h>
#include <boost/predef/version_number.h>
-/*`
-[heading `BOOST_PLAT_WINDOWS_SERVER`]
+/* tag::reference[]
+= `BOOST_PLAT_WINDOWS_SERVER`
-[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
+https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
for Windows Server development.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`WINAPI_FAMILY == WINAPI_FAMILY_SERVER`] [__predef_detection__]]
- ]
- */
+| `WINAPI_FAMILY == WINAPI_FAMILY_SERVER` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_PLAT_WINDOWS_SERVER BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_store.h b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_store.h
index 3a3fd8e982..ac5ff51995 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_store.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_store.h
@@ -14,19 +14,20 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/platform/windows_uwp.h>
#include <boost/predef/version_number.h>
-/*`
-[heading `BOOST_PLAT_WINDOWS_STORE`]
+/* tag::reference[]
+= `BOOST_PLAT_WINDOWS_STORE`
-[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
+https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
for Windows Store development.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`WINAPI_FAMILY == WINAPI_FAMILY_PC_APP`] [__predef_detection__]]
- [[`WINAPI_FAMILY == WINAPI_FAMILY_APP` (deprecated)] [__predef_detection__]]
-]
- */
+| `WINAPI_FAMILY == WINAPI_FAMILY_PC_APP` | {predef_detection}
+| `WINAPI_FAMILY == WINAPI_FAMILY_APP` (deprecated) | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_PLAT_WINDOWS_STORE BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_system.h b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_system.h
index 92f424fe7f..71a0c2c62b 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_system.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_system.h
@@ -13,18 +13,19 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/platform/windows_uwp.h>
#include <boost/predef/version_number.h>
-/*`
-[heading `BOOST_PLAT_WINDOWS_SYSTEM`]
+/* tag::reference[]
+= `BOOST_PLAT_WINDOWS_SYSTEM`
-[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
+https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
for Windows System development.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`WINAPI_FAMILY == WINAPI_FAMILY_SYSTEM`] [__predef_detection__]]
- ]
- */
+| `WINAPI_FAMILY == WINAPI_FAMILY_SYSTEM` | {predef_detection}
+|===
+*/ // end::reference[]
#define BOOST_PLAT_WINDOWS_SYSTEM BOOST_VERSION_NUMBER_NOT_AVAILABLE
diff --git a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_uwp.h b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_uwp.h
index e4c6647f41..8dc1380bbf 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/platform/windows_uwp.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/platform/windows_uwp.h
@@ -12,27 +12,28 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/os/windows.h>
#include <boost/predef/version_number.h>
-/*`
-[heading `BOOST_PLAT_WINDOWS_UWP`]
+/* tag::reference[]
+= `BOOST_PLAT_WINDOWS_UWP`
-[@http://docs.microsoft.com/windows/uwp/ Universal Windows Platform]
+http://docs.microsoft.com/windows/uwp/[Universal Windows Platform]
is available if the current development environment is capable of targeting
UWP development.
-[table
- [[__predef_symbol__] [__predef_version__]]
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
- [[`__MINGW64_VERSION_MAJOR` from `_mingw.h`] [`>= 3`]]
- [[`VER_PRODUCTBUILD` from `ntverp.h`] [`>= 9200`]]
-]
-*/
+| `+__MINGW64_VERSION_MAJOR+` from `+_mingw.h+` | `>= 3`
+| `VER_PRODUCTBUILD` from `ntverp.h` | `>= 9200`
+|===
+*/ // end::reference[]
#define BOOST_PLAT_WINDOWS_UWP BOOST_VERSION_NUMBER_NOT_AVAILABLE
#define BOOST_PLAT_WINDOWS_SDK_VERSION BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if BOOST_OS_WINDOWS
-// MinGW (32-bit) has no ntverp.h header
-#if !defined(__MINGW32__)
+// MinGW (32-bit), WinCE, and wineg++ don't have a ntverp.h header
+#if !defined(__MINGW32__) && !defined(_WIN32_WCE) && !defined(__WINE__)
# include <ntverp.h>
# undef BOOST_PLAT_WINDOWS_SDK_VERSION
# define BOOST_PLAT_WINDOWS_SDK_VERSION BOOST_VERSION_NUMBER(0, 0, VER_PRODUCTBUILD)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/version.h b/contrib/restricted/boost/predef/include/boost/predef/version.h
index bcf97adfc2..172d22e52b 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/version.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/version.h
@@ -10,6 +10,6 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
-#define BOOST_PREDEF_VERSION BOOST_VERSION_NUMBER(1,7,0)
+#define BOOST_PREDEF_VERSION BOOST_VERSION_NUMBER(1,14,0)
#endif
diff --git a/contrib/restricted/boost/predef/include/boost/predef/version_number.h b/contrib/restricted/boost/predef/include/boost/predef/version_number.h
index 44942709c7..903578245b 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/version_number.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/version_number.h
@@ -8,21 +8,22 @@ http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PREDEF_VERSION_NUMBER_H
#define BOOST_PREDEF_VERSION_NUMBER_H
-/*`
-[heading `BOOST_VERSION_NUMBER`]
+/* tag::reference[]
+= `BOOST_VERSION_NUMBER`
-``
+[source]
+----
BOOST_VERSION_NUMBER(major,minor,patch)
-``
+----
Defines standard version numbers, with these properties:
-* Decimal base whole numbers in the range \[0,1000000000).
+* Decimal base whole numbers in the range [0,1000000000).
The number range is designed to allow for a (2,2,5) triplet.
Which fits within a 32 bit value.
-* The `major` number can be in the \[0,99\] range.
-* The `minor` number can be in the \[0,99\] range.
-* The `patch` number can be in the \[0,99999\] range.
+* The `major` number can be in the [0,99] range.
+* The `minor` number can be in the [0,99] range.
+* The `patch` number can be in the [0,99999] range.
* Values can be specified in any base. As the defined value
is an constant expression.
* Value can be directly used in both preprocessor and compiler
@@ -31,7 +32,7 @@ Defines standard version numbers, with these properties:
major, minor, and patch numbers. And values over the ranges
are truncated (modulo).
-*/
+*/ // end::reference[]
#define BOOST_VERSION_NUMBER(major,minor,patch) \
( (((major)%100)*10000000) + (((minor)%100)*100000) + ((patch)%100000) )
@@ -50,16 +51,17 @@ Defines standard version numbers, with these properties:
#define BOOST_VERSION_NUMBER_NOT_AVAILABLE \
BOOST_VERSION_NUMBER_ZERO
-/*`
-``
+/* tag::reference[]
+[source]
+----
BOOST_VERSION_NUMBER_MAJOR(N), BOOST_VERSION_NUMBER_MINOR(N), BOOST_VERSION_NUMBER_PATCH(N)
-``
+----
The macros extract the major, minor, and patch portion from a well formed
version number resulting in a preprocessor expression in the range of
-\[0,99\] or \[0,99999\] for the major and minor, or patch numbers
+[0,99] or [0,99999] for the major and minor, or patch numbers
respectively.
-*/
+*/ // end::reference[]
#define BOOST_VERSION_NUMBER_MAJOR(N) \
( ((N)/10000000)%100 )
diff --git a/contrib/restricted/thrift/thrift/protocol/TProtocol.h b/contrib/restricted/thrift/thrift/protocol/TProtocol.h
index b4502051de..2d29df37d8 100644
--- a/contrib/restricted/thrift/thrift/protocol/TProtocol.h
+++ b/contrib/restricted/thrift/thrift/protocol/TProtocol.h
@@ -90,7 +90,7 @@ static inline To bitwise_cast(From from) {
# define __THRIFT_BIG_ENDIAN BIG_ENDIAN
# else
# include <boost/config.hpp>
-# include <boost/detail/endian.hpp>
+# include <boost/predef/other/endian.h>
# define __THRIFT_BYTE_ORDER BOOST_BYTE_ORDER
# ifdef BOOST_LITTLE_ENDIAN
# define __THRIFT_LITTLE_ENDIAN __THRIFT_BYTE_ORDER