Remove Activ libs and includes

This commit is contained in:
John Colvin committed 2023-12-15 13:15:08 -05:00
1 parent 28ed30c944
commit 4b718994be
10967 files changed
-2306716

No files matched your search

@@ -1,35 +0,0 @@
/*
Copyright Rene Rivera 2008-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)
*/
#if !defined(ACTIV_BOOST_PREDEF_ARCHITECTURE_H) || defined(ACTIV_BOOST_PREDEF_INTERNAL_GENERATE_TESTS)
#ifndef ACTIV_BOOST_PREDEF_ARCHITECTURE_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_H
#endif
#include <ActivBoost/predef/architecture/alpha.h>
#include <ActivBoost/predef/architecture/arm.h>
#include <ActivBoost/predef/architecture/blackfin.h>
#include <ActivBoost/predef/architecture/convex.h>
#include <ActivBoost/predef/architecture/e2k.h>
#include <ActivBoost/predef/architecture/ia64.h>
#include <ActivBoost/predef/architecture/loongarch.h>
#include <ActivBoost/predef/architecture/m68k.h>
#include <ActivBoost/predef/architecture/mips.h>
#include <ActivBoost/predef/architecture/parisc.h>
#include <ActivBoost/predef/architecture/ppc.h>
#include <ActivBoost/predef/architecture/ptx.h>
#include <ActivBoost/predef/architecture/pyramid.h>
#include <ActivBoost/predef/architecture/riscv.h>
#include <ActivBoost/predef/architecture/rs6k.h>
#include <ActivBoost/predef/architecture/sparc.h>
#include <ActivBoost/predef/architecture/superh.h>
#include <ActivBoost/predef/architecture/sys370.h>
#include <ActivBoost/predef/architecture/sys390.h>
#include <ActivBoost/predef/architecture/x86.h>
#include <ActivBoost/predef/architecture/z.h>
#endif
@@ -1,65 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_ALPHA_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_ALPHA_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_ALPHA`
http://en.wikipedia.org/wiki/DEC_Alpha[DEC Alpha] architecture.
[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
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_ALPHA ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__alpha__) || defined(__alpha) || \
defined(_M_ALPHA)
# undef ACTIV_BOOST_ARCH_ALPHA
# if !defined(ACTIV_BOOST_ARCH_ALPHA) && defined(__alpha_ev4__)
# define ACTIV_BOOST_ARCH_ALPHA ACTIV_BOOST_VERSION_NUMBER(4,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_ALPHA) && defined(__alpha_ev5__)
# define ACTIV_BOOST_ARCH_ALPHA ACTIV_BOOST_VERSION_NUMBER(5,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_ALPHA) && defined(__alpha_ev6__)
# define ACTIV_BOOST_ARCH_ALPHA ACTIV_BOOST_VERSION_NUMBER(6,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_ALPHA)
# define ACTIV_BOOST_ARCH_ALPHA ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_ARCH_ALPHA
# define ACTIV_BOOST_ARCH_ALPHA_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_ALPHA
# undef ACTIV_BOOST_ARCH_WORD_BITS_64
# define ACTIV_BOOST_ARCH_WORD_BITS_64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_ALPHA_NAME "DEC Alpha"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_ALPHA,ACTIV_BOOST_ARCH_ALPHA_NAME)
@@ -1,144 +0,0 @@
/*
Copyright Rene Rivera 2008-2019
Copyright Franz Detro 2014
Copyright (c) Microsoft Corporation 2014
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 ACTIV_BOOST_PREDEF_ARCHITECTURE_ARM_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_ARM_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_ARM`
http://en.wikipedia.org/wiki/ARM_architecture[ARM] architecture.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__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}
| `+__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 ACTIV_BOOST_ARCH_ARM ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#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 ACTIV_BOOST_ARCH_ARM
# if !defined(ACTIV_BOOST_ARCH_ARM) && defined(__ARM_ARCH)
# define ACTIV_BOOST_ARCH_ARM ACTIV_BOOST_VERSION_NUMBER(__ARM_ARCH,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_ARM) && defined(__TARGET_ARCH_ARM)
# define ACTIV_BOOST_ARCH_ARM ACTIV_BOOST_VERSION_NUMBER(__TARGET_ARCH_ARM,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_ARM) && defined(__TARGET_ARCH_THUMB)
# define ACTIV_BOOST_ARCH_ARM ACTIV_BOOST_VERSION_NUMBER(__TARGET_ARCH_THUMB,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_ARM) && defined(_M_ARM)
# define ACTIV_BOOST_ARCH_ARM ACTIV_BOOST_VERSION_NUMBER(_M_ARM,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_ARM) && ( \
defined(__arm64) || defined(_M_ARM64) || defined(__aarch64__) || \
defined(__AARCH64EL__) )
# define ACTIV_BOOST_ARCH_ARM ACTIV_BOOST_VERSION_NUMBER(8,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_ARM) && ( \
defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || \
defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) )
# define ACTIV_BOOST_ARCH_ARM ACTIV_BOOST_VERSION_NUMBER(7,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_ARM) && ( \
defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || \
defined(__ARM_ARCH_6KZ__) || defined(__ARM_ARCH_6T2__) )
# define ACTIV_BOOST_ARCH_ARM ACTIV_BOOST_VERSION_NUMBER(6,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_ARM) && ( \
defined(__ARM_ARCH_5TE__) || defined(__ARM_ARCH_5TEJ__) )
# define ACTIV_BOOST_ARCH_ARM ACTIV_BOOST_VERSION_NUMBER(5,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_ARM) && ( \
defined(__ARM_ARCH_4T__) || defined(__ARM_ARCH_4__) )
# define ACTIV_BOOST_ARCH_ARM ACTIV_BOOST_VERSION_NUMBER(4,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_ARM)
# define ACTIV_BOOST_ARCH_ARM ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_ARCH_ARM
# define ACTIV_BOOST_ARCH_ARM_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_ARM
# if ACTIV_BOOST_ARCH_ARM >= ACTIV_BOOST_VERSION_NUMBER(8,0,0)
# undef ACTIV_BOOST_ARCH_WORD_BITS_64
# define ACTIV_BOOST_ARCH_WORD_BITS_64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# else
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#define ACTIV_BOOST_ARCH_ARM_NAME "ARM"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_ARM,ACTIV_BOOST_ARCH_ARM_NAME)
@@ -1,52 +0,0 @@
/*
Copyright Rene Rivera 2013-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_BLACKFIN_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_BLACKFIN_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_BLACKFIN`
Blackfin Processors from Analog Devices.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__bfin__+` | {predef_detection}
| `+__BFIN__+` | {predef_detection}
| `bfin` | {predef_detection}
| `BFIN` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_BLACKFIN ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__bfin__) || defined(__BFIN__) || \
defined(bfin) || defined(BFIN)
# undef ACTIV_BOOST_ARCH_BLACKFIN
# define ACTIV_BOOST_ARCH_BLACKFIN ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_BLACKFIN
# define ACTIV_BOOST_ARCH_BLACKFIN_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_BLACKFIN
# undef ACTIV_BOOST_ARCH_WORD_BITS_16
# define ACTIV_BOOST_ARCH_WORD_BITS_16 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_BLACKFIN_NAME "Blackfin"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_BLACKFIN,ACTIV_BOOST_ARCH_BLACKFIN_NAME)
@@ -1,71 +0,0 @@
/*
Copyright Rene Rivera 2011-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_CONVEX_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_CONVEX_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_CONVEX`
http://en.wikipedia.org/wiki/Convex_Computer[Convex Computer] architecture.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__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
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_CONVEX ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__convex__)
# undef ACTIV_BOOST_ARCH_CONVEX
# if !defined(ACTIV_BOOST_ARCH_CONVEX) && defined(__convex_c1__)
# define ACTIV_BOOST_ARCH_CONVEX ACTIV_BOOST_VERSION_NUMBER(1,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_CONVEX) && defined(__convex_c2__)
# define ACTIV_BOOST_ARCH_CONVEX ACTIV_BOOST_VERSION_NUMBER(2,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_CONVEX) && defined(__convex_c32__)
# define ACTIV_BOOST_ARCH_CONVEX ACTIV_BOOST_VERSION_NUMBER(3,2,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_CONVEX) && defined(__convex_c34__)
# define ACTIV_BOOST_ARCH_CONVEX ACTIV_BOOST_VERSION_NUMBER(3,4,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_CONVEX) && defined(__convex_c38__)
# define ACTIV_BOOST_ARCH_CONVEX ACTIV_BOOST_VERSION_NUMBER(3,8,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_CONVEX)
# define ACTIV_BOOST_ARCH_CONVEX ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_ARCH_CONVEX
# define ACTIV_BOOST_ARCH_CONVEX_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_CONVEX
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_CONVEX_NAME "Convex Computer"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_CONVEX,ACTIV_BOOST_ARCH_CONVEX_NAME)
@@ -1,54 +0,0 @@
/*
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 ACTIV_BOOST_PREDEF_ARCHITECTURE_E2K_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_E2K_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_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 ACTIV_BOOST_ARCH_E2K ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__e2k__)
# undef ACTIV_BOOST_ARCH_E2K
# if !defined(ACTIV_BOOST_ARCH_E2K) && defined(__iset__)
# define ACTIV_BOOST_ARCH_E2K ACTIV_BOOST_VERSION_NUMBER(__iset__,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_E2K)
# define ACTIV_BOOST_ARCH_E2K ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_ARCH_E2K
# define ACTIV_BOOST_ARCH_E2K_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_E2K
# define ACTIV_BOOST_ARCH_WORD_BITS_64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_E2K_NAME "E2K"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_E2K,ACTIV_BOOST_ARCH_E2K_NAME)
@@ -1,55 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_IA64_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_IA64_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_IA64`
http://en.wikipedia.org/wiki/Ia64[Intel Itanium 64] architecture.
[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}
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_IA64 ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__ia64__) || defined(_IA64) || \
defined(__IA64__) || defined(__ia64) || \
defined(_M_IA64) || defined(__itanium__)
# undef ACTIV_BOOST_ARCH_IA64
# define ACTIV_BOOST_ARCH_IA64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_IA64
# define ACTIV_BOOST_ARCH_IA64_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_IA64
# undef ACTIV_BOOST_ARCH_WORD_BITS_64
# define ACTIV_BOOST_ARCH_WORD_BITS_64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_IA64_NAME "Intel Itanium 64"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_IA64,ACTIV_BOOST_ARCH_IA64_NAME)
@@ -1,41 +0,0 @@
/*
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 ACTIV_BOOST_PREDEF_ARCHITECTURE_LOONGARCH_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_LOONGARCH_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_LOONGARCH`
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__loongarch__+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_LOONGARCH ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__loongarch__)
# undef ACTIV_BOOST_ARCH_LOONGARCH
# define ACTIV_BOOST_ARCH_LOONGARCH ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_LOONGARCH
# define ACTIV_BOOST_ARCH_LOONGARCH_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_LOONGARCH_NAME "LoongArch"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_LOONGARCH,ACTIV_BOOST_ARCH_LOONGARCH_NAME)
@@ -1,88 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_M68K_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_M68K_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_M68K`
http://en.wikipedia.org/wiki/M68k[Motorola 68k] architecture.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__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
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_M68K ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__m68k__) || defined(M68000)
# undef ACTIV_BOOST_ARCH_M68K
# if !defined(ACTIV_BOOST_ARCH_M68K) && (defined(__mc68060__) || defined(mc68060) || defined(__mc68060))
# define ACTIV_BOOST_ARCH_M68K ACTIV_BOOST_VERSION_NUMBER(6,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_M68K) && (defined(__mc68040__) || defined(mc68040) || defined(__mc68040))
# define ACTIV_BOOST_ARCH_M68K ACTIV_BOOST_VERSION_NUMBER(4,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_M68K) && (defined(__mc68030__) || defined(mc68030) || defined(__mc68030))
# define ACTIV_BOOST_ARCH_M68K ACTIV_BOOST_VERSION_NUMBER(3,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_M68K) && (defined(__mc68020__) || defined(mc68020) || defined(__mc68020))
# define ACTIV_BOOST_ARCH_M68K ACTIV_BOOST_VERSION_NUMBER(2,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_M68K) && (defined(__mc68010__) || defined(mc68010) || defined(__mc68010))
# define ACTIV_BOOST_ARCH_M68K ACTIV_BOOST_VERSION_NUMBER(1,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_M68K) && (defined(__mc68000__) || defined(mc68000) || defined(__mc68000))
# define ACTIV_BOOST_ARCH_M68K ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
# if !defined(ACTIV_BOOST_ARCH_M68K)
# define ACTIV_BOOST_ARCH_M68K ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_ARCH_M68K
# define ACTIV_BOOST_ARCH_M68K_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_M68K
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_M68K_NAME "Motorola 68k"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_M68K,ACTIV_BOOST_ARCH_M68K_NAME)
@@ -1,84 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_MIPS_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_MIPS_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_MIPS`
http://en.wikipedia.org/wiki/MIPS_architecture[MIPS] architecture.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__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
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_MIPS ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__mips__) || defined(__mips) || \
defined(__MIPS__)
# undef ACTIV_BOOST_ARCH_MIPS
# if !defined(ACTIV_BOOST_ARCH_MIPS) && (defined(__mips))
# define ACTIV_BOOST_ARCH_MIPS ACTIV_BOOST_VERSION_NUMBER(__mips,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_MIPS) && (defined(_MIPS_ISA_MIPS1) || defined(_R3000))
# define ACTIV_BOOST_ARCH_MIPS ACTIV_BOOST_VERSION_NUMBER(1,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_MIPS) && (defined(_MIPS_ISA_MIPS2) || defined(__MIPS_ISA2__) || defined(_R4000))
# define ACTIV_BOOST_ARCH_MIPS ACTIV_BOOST_VERSION_NUMBER(2,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_MIPS) && (defined(_MIPS_ISA_MIPS3) || defined(__MIPS_ISA3__))
# define ACTIV_BOOST_ARCH_MIPS ACTIV_BOOST_VERSION_NUMBER(3,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_MIPS) && (defined(_MIPS_ISA_MIPS4) || defined(__MIPS_ISA4__))
# define ACTIV_BOOST_ARCH_MIPS ACTIV_BOOST_VERSION_NUMBER(4,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_MIPS)
# define ACTIV_BOOST_ARCH_MIPS ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_ARCH_MIPS
# define ACTIV_BOOST_ARCH_MIPS_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_MIPS
# if ACTIV_BOOST_ARCH_MIPS >= ACTIV_BOOST_VERSION_NUMBER(3,0,0)
# undef ACTIV_BOOST_ARCH_WORD_BITS_64
# define ACTIV_BOOST_ARCH_WORD_BITS_64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# else
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#define ACTIV_BOOST_ARCH_MIPS_NAME "MIPS"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_MIPS,ACTIV_BOOST_ARCH_MIPS_NAME)
@@ -1,70 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_PARISC_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_PARISC_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_PARISC`
http://en.wikipedia.org/wiki/PA-RISC_family[HP/PA RISC] architecture.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__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
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_PARISC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__hppa__) || defined(__hppa) || defined(__HPPA__)
# undef ACTIV_BOOST_ARCH_PARISC
# if !defined(ACTIV_BOOST_ARCH_PARISC) && (defined(_PA_RISC1_0))
# define ACTIV_BOOST_ARCH_PARISC ACTIV_BOOST_VERSION_NUMBER(1,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_PARISC) && (defined(_PA_RISC1_1) || defined(__HPPA11__) || defined(__PA7100__))
# define ACTIV_BOOST_ARCH_PARISC ACTIV_BOOST_VERSION_NUMBER(1,1,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_PARISC) && (defined(_PA_RISC2_0) || defined(__RISC2_0__) || defined(__HPPA20__) || defined(__PA8000__))
# define ACTIV_BOOST_ARCH_PARISC ACTIV_BOOST_VERSION_NUMBER(2,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_PARISC)
# define ACTIV_BOOST_ARCH_PARISC ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_ARCH_PARISC
# define ACTIV_BOOST_ARCH_PARISC_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_PARISC
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_PARISC_NAME "HP/PA RISC"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_PARISC,ACTIV_BOOST_ARCH_PARISC_NAME)
@@ -1,124 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_PPC_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_PPC_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_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 ACTIV_BOOST_ARCH_PPC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#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(__ppc)
# undef ACTIV_BOOST_ARCH_PPC
# if !defined (ACTIV_BOOST_ARCH_PPC) && (defined(__ppc601__) || defined(_ARCH_601))
# define ACTIV_BOOST_ARCH_PPC ACTIV_BOOST_VERSION_NUMBER(6,1,0)
# endif
# if !defined (ACTIV_BOOST_ARCH_PPC) && (defined(__ppc603__) || defined(_ARCH_603))
# define ACTIV_BOOST_ARCH_PPC ACTIV_BOOST_VERSION_NUMBER(6,3,0)
# endif
# if !defined (ACTIV_BOOST_ARCH_PPC) && (defined(__ppc604__) || defined(__ppc604__))
# define ACTIV_BOOST_ARCH_PPC ACTIV_BOOST_VERSION_NUMBER(6,4,0)
# endif
# if !defined (ACTIV_BOOST_ARCH_PPC)
# define ACTIV_BOOST_ARCH_PPC ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_ARCH_PPC
# define ACTIV_BOOST_ARCH_PPC_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_PPC_NAME "PowerPC"
/* tag::reference[]
= `ACTIV_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 ACTIV_BOOST_ARCH_PPC_64 ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__) || \
defined(_ARCH_PPC64)
# undef ACTIV_BOOST_ARCH_PPC_64
# define ACTIV_BOOST_ARCH_PPC_64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_PPC_64
# define ACTIV_BOOST_ARCH_PPC_64_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_PPC_64_NAME "PowerPC64"
#if ACTIV_BOOST_ARCH_PPC_64
# undef ACTIV_BOOST_ARCH_WORD_BITS_64
# define ACTIV_BOOST_ARCH_WORD_BITS_64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#else
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_PPC,ACTIV_BOOST_ARCH_PPC_NAME)
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_PPC_64,ACTIV_BOOST_ARCH_PPC_64_NAME)
@@ -1,50 +0,0 @@
/*
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 ACTIV_BOOST_PREDEF_ARCHITECTURE_PTX_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_PTX_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_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 ACTIV_BOOST_ARCH_PTX ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__CUDA_ARCH__)
# undef ACTIV_BOOST_ARCH_PTX
# define ACTIV_BOOST_ARCH_PTX ACTIV_BOOST_PREDEF_MAKE_10_VR0(__CUDA_ARCH__)
#endif
#if ACTIV_BOOST_ARCH_PTX
# define ACTIV_BOOST_ARCH_PTX_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_PTX
# undef ACTIV_BOOST_ARCH_WORD_BITS_64
# define ACTIV_BOOST_ARCH_WORD_BITS_64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_PTX_NAME "PTX"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_PTX,ACTIV_BOOST_ARCH_PTX_NAME)
@@ -1,48 +0,0 @@
/*
Copyright Rene Rivera 2011-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_PYRAMID_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_PYRAMID_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_PYRAMID`
Pyramid 9810 architecture.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `pyr` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_PYRAMID ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(pyr)
# undef ACTIV_BOOST_ARCH_PYRAMID
# define ACTIV_BOOST_ARCH_PYRAMID ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_PYRAMID
# define ACTIV_BOOST_ARCH_PYRAMID_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_PYRAMID
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_PYRAMID_NAME "Pyramid 9810"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_PYRAMID,ACTIV_BOOST_ARCH_PYRAMID_NAME)
@@ -1,48 +0,0 @@
/*
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 ACTIV_BOOST_PREDEF_ARCHITECTURE_RISCV_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_RISCV_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_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 ACTIV_BOOST_ARCH_RISCV ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__riscv)
# undef ACTIV_BOOST_ARCH_RISCV
# define ACTIV_BOOST_ARCH_RISCV ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_RISCV
# define ACTIV_BOOST_ARCH_RISCV_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_RISCV
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_RISCV_NAME "RISC-V"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_RISCV,ACTIV_BOOST_ARCH_RISCV_NAME)
@@ -1,67 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_RS6K_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_RS6K_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_RS6000`
http://en.wikipedia.org/wiki/RS/6000[RS/6000] architecture.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__THW_RS6000+` | {predef_detection}
| `+_IBMR2+` | {predef_detection}
| `+_POWER+` | {predef_detection}
| `+_ARCH_PWR+` | {predef_detection}
| `+_ARCH_PWR2+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_RS6000 ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__THW_RS6000) || defined(_IBMR2) || \
defined(_POWER) || defined(_ARCH_PWR) || \
defined(_ARCH_PWR2)
# undef ACTIV_BOOST_ARCH_RS6000
# define ACTIV_BOOST_ARCH_RS6000 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_RS6000
# define ACTIV_BOOST_ARCH_RS6000_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_RS6000
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_RS6000_NAME "RS/6000"
#define ACTIV_BOOST_ARCH_PWR ACTIV_BOOST_ARCH_RS6000
#if ACTIV_BOOST_ARCH_PWR
# define ACTIV_BOOST_ARCH_PWR_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_PWR
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_PWR_NAME ACTIV_BOOST_ARCH_RS6000_NAME
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_RS6000,ACTIV_BOOST_ARCH_RS6000_NAME)
@@ -1,67 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_SPARC_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_SPARC_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_SPARC`
http://en.wikipedia.org/wiki/SPARC[SPARC] architecture.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__sparc__+` | {predef_detection}
| `+__sparc+` | {predef_detection}
| `+__sparcv9+` | 9.0.0
| `+__sparc_v9__+` | 9.0.0
| `+__sparcv8+` | 8.0.0
| `+__sparc_v8__+` | 8.0.0
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_SPARC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__sparc__) || defined(__sparc)
# undef ACTIV_BOOST_ARCH_SPARC
# if !defined(ACTIV_BOOST_ARCH_SPARC) && (defined(__sparcv9) || defined(__sparc_v9__))
# define ACTIV_BOOST_ARCH_SPARC ACTIV_BOOST_VERSION_NUMBER(9,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_SPARC) && (defined(__sparcv8) || defined(__sparc_v8__))
# define ACTIV_BOOST_ARCH_SPARC ACTIV_BOOST_VERSION_NUMBER(8,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_SPARC)
# define ACTIV_BOOST_ARCH_SPARC ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_ARCH_SPARC
# define ACTIV_BOOST_ARCH_SPARC_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_SPARC
# if ACTIV_BOOST_ARCH_SPARC >= ACTIV_BOOST_VERSION_NUMBER(9,0,0)
# undef ACTIV_BOOST_ARCH_WORD_BITS_64
# define ACTIV_BOOST_ARCH_WORD_BITS_64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# else
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#define ACTIV_BOOST_ARCH_SPARC_NAME "SPARC"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_SPARC,ACTIV_BOOST_ARCH_SPARC_NAME)
@@ -1,81 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_SUPERH_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_SUPERH_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_SH`
http://en.wikipedia.org/wiki/SuperH[SuperH] architecture:
If available versions [1-5] are specifically detected.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__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
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_SH ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__sh__)
# undef ACTIV_BOOST_ARCH_SH
# if !defined(ACTIV_BOOST_ARCH_SH) && (defined(__SH5__))
# define ACTIV_BOOST_ARCH_SH ACTIV_BOOST_VERSION_NUMBER(5,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_SH) && (defined(__SH4__))
# define ACTIV_BOOST_ARCH_SH ACTIV_BOOST_VERSION_NUMBER(4,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_SH) && (defined(__sh3__) || defined(__SH3__))
# define ACTIV_BOOST_ARCH_SH ACTIV_BOOST_VERSION_NUMBER(3,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_SH) && (defined(__sh2__))
# define ACTIV_BOOST_ARCH_SH ACTIV_BOOST_VERSION_NUMBER(2,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_SH) && (defined(__sh1__))
# define ACTIV_BOOST_ARCH_SH ACTIV_BOOST_VERSION_NUMBER(1,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_SH)
# define ACTIV_BOOST_ARCH_SH ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_ARCH_SH
# define ACTIV_BOOST_ARCH_SH_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_SH
# if ACTIV_BOOST_ARCH_SH >= ACTIV_BOOST_VERSION_NUMBER(5,0,0)
# undef ACTIV_BOOST_ARCH_WORD_BITS_64
# define ACTIV_BOOST_ARCH_WORD_BITS_64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# elif ACTIV_BOOST_ARCH_SH >= ACTIV_BOOST_VERSION_NUMBER(3,0,0)
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# else
# undef ACTIV_BOOST_ARCH_WORD_BITS_16
# define ACTIV_BOOST_ARCH_WORD_BITS_16 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#define ACTIV_BOOST_ARCH_SH_NAME "SuperH"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_SH,ACTIV_BOOST_ARCH_SH_NAME)
@@ -1,49 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_SYS370_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_SYS370_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_SYS370`
http://en.wikipedia.org/wiki/System/370[System/370] architecture.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__370__+` | {predef_detection}
| `+__THW_370__+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_SYS370 ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__370__) || defined(__THW_370__)
# undef ACTIV_BOOST_ARCH_SYS370
# define ACTIV_BOOST_ARCH_SYS370 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_SYS370
# define ACTIV_BOOST_ARCH_SYS370_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_SYS370
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_SYS370_NAME "System/370"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_SYS370,ACTIV_BOOST_ARCH_SYS370_NAME)
@@ -1,49 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_SYS390_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_SYS390_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_SYS390`
http://en.wikipedia.org/wiki/System/390[System/390] architecture.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__s390__+` | {predef_detection}
| `+__s390x__+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_SYS390 ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__s390__) || defined(__s390x__)
# undef ACTIV_BOOST_ARCH_SYS390
# define ACTIV_BOOST_ARCH_SYS390 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_SYS390
# define ACTIV_BOOST_ARCH_SYS390_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_SYS390
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_SYS390_NAME "System/390"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_SYS390,ACTIV_BOOST_ARCH_SYS390_NAME)
@@ -1,38 +0,0 @@
/*
Copyright Rene Rivera 2008-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)
*/
#include <ActivBoost/predef/architecture/x86/32.h>
#include <ActivBoost/predef/architecture/x86/64.h>
#ifndef ACTIV_BOOST_PREDEF_ARCHITECTURE_X86_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_X86_H
/* tag::reference[]
= `ACTIV_BOOST_ARCH_X86`
http://en.wikipedia.org/wiki/X86[Intel x86] architecture. This is
a category to indicate that either `ACTIV_BOOST_ARCH_X86_32` or
`ACTIV_BOOST_ARCH_X86_64` is detected.
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_X86 ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if ACTIV_BOOST_ARCH_X86_32 || ACTIV_BOOST_ARCH_X86_64
# undef ACTIV_BOOST_ARCH_X86
# define ACTIV_BOOST_ARCH_X86 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_X86
# define ACTIV_BOOST_ARCH_X86_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_X86_NAME "Intel x86"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_X86,ACTIV_BOOST_ARCH_X86_NAME)
@@ -1,93 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_X86_32_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_X86_32_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_X86_32`
http://en.wikipedia.org/wiki/X86[Intel x86] architecture:
If available versions [3-6] are specifically detected.
[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}
| `+__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 ACTIV_BOOST_ARCH_X86_32 ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(i386) || defined(__i386__) || \
defined(__i486__) || defined(__i586__) || \
defined(__i686__) || defined(__i386) || \
defined(_M_IX86) || defined(_X86_) || \
defined(__THW_INTEL__) || defined(__I86__) || \
defined(__INTEL__)
# undef ACTIV_BOOST_ARCH_X86_32
# if !defined(ACTIV_BOOST_ARCH_X86_32) && defined(__I86__)
# define ACTIV_BOOST_ARCH_X86_32 ACTIV_BOOST_VERSION_NUMBER(__I86__,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_X86_32) && defined(_M_IX86)
# define ACTIV_BOOST_ARCH_X86_32 ACTIV_BOOST_PREDEF_MAKE_10_VV00(_M_IX86)
# endif
# if !defined(ACTIV_BOOST_ARCH_X86_32) && defined(__i686__)
# define ACTIV_BOOST_ARCH_X86_32 ACTIV_BOOST_VERSION_NUMBER(6,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_X86_32) && defined(__i586__)
# define ACTIV_BOOST_ARCH_X86_32 ACTIV_BOOST_VERSION_NUMBER(5,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_X86_32) && defined(__i486__)
# define ACTIV_BOOST_ARCH_X86_32 ACTIV_BOOST_VERSION_NUMBER(4,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_X86_32) && defined(__i386__)
# define ACTIV_BOOST_ARCH_X86_32 ACTIV_BOOST_VERSION_NUMBER(3,0,0)
# endif
# if !defined(ACTIV_BOOST_ARCH_X86_32)
# define ACTIV_BOOST_ARCH_X86_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_ARCH_X86_32
# define ACTIV_BOOST_ARCH_X86_32_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_X86_32
# undef ACTIV_BOOST_ARCH_WORD_BITS_32
# define ACTIV_BOOST_ARCH_WORD_BITS_32 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_X86_32_NAME "Intel x86-32"
#include <ActivBoost/predef/architecture/x86.h>
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_X86_32,ACTIV_BOOST_ARCH_X86_32_NAME)
@@ -1,56 +0,0 @@
/*
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)
*/
#ifndef ACTIV_BOOST_PREDEF_ARCHITECTURE_X86_64_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_X86_64_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_X86_64`
https://en.wikipedia.org/wiki/X86-64[X86-64] architecture.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__x86_64+` | {predef_detection}
| `+__x86_64__+` | {predef_detection}
| `+__amd64__+` | {predef_detection}
| `+__amd64+` | {predef_detection}
| `+_M_X64+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_X86_64 ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__x86_64) || defined(__x86_64__) || \
defined(__amd64__) || defined(__amd64) || \
defined(_M_X64)
# undef ACTIV_BOOST_ARCH_X86_64
# define ACTIV_BOOST_ARCH_X86_64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_X86_64
# define ACTIV_BOOST_ARCH_X86_64_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_X86_64
# undef ACTIV_BOOST_ARCH_WORD_BITS_64
# define ACTIV_BOOST_ARCH_WORD_BITS_64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_X86_64_NAME "Intel x86-64"
#include <ActivBoost/predef/architecture/x86.h>
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_X86_64,ACTIV_BOOST_ARCH_X86_64_NAME)
@@ -1,48 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_ARCHITECTURE_Z_H
#define ACTIV_BOOST_PREDEF_ARCHITECTURE_Z_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_ARCH_Z`
http://en.wikipedia.org/wiki/Z/Architecture[z/Architecture] architecture.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__SYSC_ZARCH__+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_ARCH_Z ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__SYSC_ZARCH__)
# undef ACTIV_BOOST_ARCH_Z
# define ACTIV_BOOST_ARCH_Z ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_Z
# define ACTIV_BOOST_ARCH_Z_AVAILABLE
#endif
#if ACTIV_BOOST_ARCH_Z
# undef ACTIV_BOOST_ARCH_WORD_BITS_64
# define ACTIV_BOOST_ARCH_WORD_BITS_64 ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#define ACTIV_BOOST_ARCH_Z_NAME "z/Architecture"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_ARCH_Z,ACTIV_BOOST_ARCH_Z_NAME)
@@ -1,44 +0,0 @@
/*
Copyright Rene Rivera 2008-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)
*/
#if !defined(ACTIV_BOOST_PREDEF_COMPILER_H) || defined(ACTIV_BOOST_PREDEF_INTERNAL_GENERATE_TESTS)
#ifndef ACTIV_BOOST_PREDEF_COMPILER_H
#define ACTIV_BOOST_PREDEF_COMPILER_H
#endif
#include <ActivBoost/predef/compiler/borland.h>
#include <ActivBoost/predef/compiler/clang.h>
#include <ActivBoost/predef/compiler/comeau.h>
#include <ActivBoost/predef/compiler/compaq.h>
#include <ActivBoost/predef/compiler/diab.h>
#include <ActivBoost/predef/compiler/digitalmars.h>
#include <ActivBoost/predef/compiler/dignus.h>
#include <ActivBoost/predef/compiler/edg.h>
#include <ActivBoost/predef/compiler/ekopath.h>
#include <ActivBoost/predef/compiler/gcc_xml.h>
#include <ActivBoost/predef/compiler/gcc.h>
#include <ActivBoost/predef/compiler/greenhills.h>
#include <ActivBoost/predef/compiler/hp_acc.h>
#include <ActivBoost/predef/compiler/iar.h>
#include <ActivBoost/predef/compiler/ibm.h>
#include <ActivBoost/predef/compiler/intel.h>
#include <ActivBoost/predef/compiler/kai.h>
#include <ActivBoost/predef/compiler/llvm.h>
#include <ActivBoost/predef/compiler/metaware.h>
#include <ActivBoost/predef/compiler/metrowerks.h>
#include <ActivBoost/predef/compiler/microtec.h>
#include <ActivBoost/predef/compiler/mpw.h>
#include <ActivBoost/predef/compiler/nvcc.h>
#include <ActivBoost/predef/compiler/palm.h>
#include <ActivBoost/predef/compiler/pgi.h>
#include <ActivBoost/predef/compiler/sgi_mipspro.h>
#include <ActivBoost/predef/compiler/sunpro.h>
#include <ActivBoost/predef/compiler/tendra.h>
#include <ActivBoost/predef/compiler/visualc.h>
#include <ActivBoost/predef/compiler/watcom.h>
#endif
@@ -1,64 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_BORLAND_H
#define ACTIV_BOOST_PREDEF_COMPILER_BORLAND_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_BORLAND`
http://en.wikipedia.org/wiki/C_plus_plus_builder[Borland {CPP}] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__BORLANDC__+` | {predef_detection}
| `+__CODEGEARC__+` | {predef_detection}
| `+__BORLANDC__+` | V.R.P
| `+__CODEGEARC__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_BORLAND ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__BORLANDC__) || defined(__CODEGEARC__)
# if !defined(ACTIV_BOOST_COMP_BORLAND_DETECTION) && (defined(__CODEGEARC__))
# define ACTIV_BOOST_COMP_BORLAND_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VVRP(__CODEGEARC__)
# endif
# if !defined(ACTIV_BOOST_COMP_BORLAND_DETECTION)
# define ACTIV_BOOST_COMP_BORLAND_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VVRP(__BORLANDC__)
# endif
#endif
#ifdef ACTIV_BOOST_COMP_BORLAND_DETECTION
# define ACTIV_BOOST_COMP_BORLAND_AVAILABLE
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_BORLAND_EMULATED ACTIV_BOOST_COMP_BORLAND_DETECTION
# else
# undef ACTIV_BOOST_COMP_BORLAND
# define ACTIV_BOOST_COMP_BORLAND ACTIV_BOOST_COMP_BORLAND_DETECTION
# endif
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_BORLAND_NAME "Borland C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_BORLAND,ACTIV_BOOST_COMP_BORLAND_NAME)
#ifdef ACTIV_BOOST_COMP_BORLAND_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_BORLAND_EMULATED,ACTIV_BOOST_COMP_BORLAND_NAME)
#endif
@@ -1,57 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_CLANG_H
#define ACTIV_BOOST_PREDEF_COMPILER_CLANG_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_CLANG`
http://en.wikipedia.org/wiki/Clang[Clang] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__clang__+` | {predef_detection}
| `+__clang_major__+`, `+__clang_minor__+`, `+__clang_patchlevel__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_CLANG ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__clang__)
# define ACTIV_BOOST_COMP_CLANG_DETECTION ACTIV_BOOST_VERSION_NUMBER(__clang_major__,__clang_minor__,__clang_patchlevel__)
#endif
#ifdef ACTIV_BOOST_COMP_CLANG_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_CLANG_EMULATED ACTIV_BOOST_COMP_CLANG_DETECTION
# else
# undef ACTIV_BOOST_COMP_CLANG
# define ACTIV_BOOST_COMP_CLANG ACTIV_BOOST_COMP_CLANG_DETECTION
# endif
# define ACTIV_BOOST_COMP_CLANG_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_CLANG_NAME "Clang"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_CLANG,ACTIV_BOOST_COMP_CLANG_NAME)
#ifdef ACTIV_BOOST_COMP_CLANG_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_CLANG_EMULATED,ACTIV_BOOST_COMP_CLANG_NAME)
#endif
@@ -1,62 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_COMEAU_H
#define ACTIV_BOOST_PREDEF_COMPILER_COMEAU_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
#define ACTIV_BOOST_COMP_COMO ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
/* tag::reference[]
= `ACTIV_BOOST_COMP_COMO`
http://en.wikipedia.org/wiki/Comeau_C/C%2B%2B[Comeau {CPP}] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__COMO__+` | {predef_detection}
| `+__COMO_VERSION__+` | V.R.P
|===
*/ // end::reference[]
#if defined(__COMO__)
# if !defined(ACTIV_BOOST_COMP_COMO_DETECTION) && defined(__COMO_VERSION__)
# define ACTIV_BOOST_COMP_COMO_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VRP(__COMO_VERSION__)
# endif
# if !defined(ACTIV_BOOST_COMP_COMO_DETECTION)
# define ACTIV_BOOST_COMP_COMO_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#ifdef ACTIV_BOOST_COMP_COMO_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_COMO_EMULATED ACTIV_BOOST_COMP_COMO_DETECTION
# else
# undef ACTIV_BOOST_COMP_COMO
# define ACTIV_BOOST_COMP_COMO ACTIV_BOOST_COMP_COMO_DETECTION
# endif
# define ACTIV_BOOST_COMP_COMO_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_COMO_NAME "Comeau C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_COMO,ACTIV_BOOST_COMP_COMO_NAME)
#ifdef ACTIV_BOOST_COMP_COMO_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_COMO_EMULATED,ACTIV_BOOST_COMP_COMO_NAME)
#endif
@@ -1,67 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_COMPAQ_H
#define ACTIV_BOOST_PREDEF_COMPILER_COMPAQ_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_DEC`
http://www.openvms.compaq.com/openvms/brochures/deccplus/[Compaq C/{CPP}] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__DECCXX+` | {predef_detection}
| `+__DECC+` | {predef_detection}
| `+__DECCXX_VER+` | V.R.P
| `+__DECC_VER+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_DEC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__DECC) || defined(__DECCXX)
# if !defined(ACTIV_BOOST_COMP_DEC_DETECTION) && defined(__DECCXX_VER)
# define ACTIV_BOOST_COMP_DEC_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECCXX_VER)
# endif
# if !defined(ACTIV_BOOST_COMP_DEC_DETECTION) && defined(__DECC_VER)
# define ACTIV_BOOST_COMP_DEC_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECC_VER)
# endif
# if !defined(ACTIV_BOOST_COMP_DEC_DETECTION)
# define ACTIV_BOOST_COMP_DEC_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#ifdef ACTIV_BOOST_COMP_DEC_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_DEC_EMULATED ACTIV_BOOST_COMP_DEC_DETECTION
# else
# undef ACTIV_BOOST_COMP_DEC
# define ACTIV_BOOST_COMP_DEC ACTIV_BOOST_COMP_DEC_DETECTION
# endif
# define ACTIV_BOOST_COMP_DEC_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_DEC_NAME "Compaq C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_DEC,ACTIV_BOOST_COMP_DEC_NAME)
#ifdef ACTIV_BOOST_COMP_DEC_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_DEC_EMULATED,ACTIV_BOOST_COMP_DEC_NAME)
#endif
@@ -1,57 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_DIAB_H
#define ACTIV_BOOST_PREDEF_COMPILER_DIAB_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_DIAB`
http://www.windriver.com/products/development_suite/wind_river_compiler/[Diab C/{CPP}] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__DCC__+` | {predef_detection}
| `+__VERSION_NUMBER__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_DIAB ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__DCC__)
# define ACTIV_BOOST_COMP_DIAB_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VRPP(__VERSION_NUMBER__)
#endif
#ifdef ACTIV_BOOST_COMP_DIAB_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_DIAB_EMULATED ACTIV_BOOST_COMP_DIAB_DETECTION
# else
# undef ACTIV_BOOST_COMP_DIAB
# define ACTIV_BOOST_COMP_DIAB ACTIV_BOOST_COMP_DIAB_DETECTION
# endif
# define ACTIV_BOOST_COMP_DIAB_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_DIAB_NAME "Diab C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_DIAB,ACTIV_BOOST_COMP_DIAB_NAME)
#ifdef ACTIV_BOOST_COMP_DIAB_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_DIAB_EMULATED,ACTIV_BOOST_COMP_DIAB_NAME)
#endif
@@ -1,57 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_DIGITALMARS_H
#define ACTIV_BOOST_PREDEF_COMPILER_DIGITALMARS_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_DMC`
http://en.wikipedia.org/wiki/Digital_Mars[Digital Mars] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__DMC__+` | {predef_detection}
| `+__DMC__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_DMC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__DMC__)
# define ACTIV_BOOST_COMP_DMC_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VRP(__DMC__)
#endif
#ifdef ACTIV_BOOST_COMP_DMC_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_DMC_EMULATED ACTIV_BOOST_COMP_DMC_DETECTION
# else
# undef ACTIV_BOOST_COMP_DMC
# define ACTIV_BOOST_COMP_DMC ACTIV_BOOST_COMP_DMC_DETECTION
# endif
# define ACTIV_BOOST_COMP_DMC_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_DMC_NAME "Digital Mars"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_DMC,ACTIV_BOOST_COMP_DMC_NAME)
#ifdef ACTIV_BOOST_COMP_DMC_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_DMC_EMULATED,ACTIV_BOOST_COMP_DMC_NAME)
#endif
@@ -1,57 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_DIGNUS_H
#define ACTIV_BOOST_PREDEF_COMPILER_DIGNUS_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_SYSC`
http://www.dignus.com/dcxx/[Dignus Systems/{CPP}] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__SYSC__+` | {predef_detection}
| `+__SYSC_VER__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_SYSC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__SYSC__)
# define ACTIV_BOOST_COMP_SYSC_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VRRPP(__SYSC_VER__)
#endif
#ifdef ACTIV_BOOST_COMP_SYSC_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_SYSC_EMULATED ACTIV_BOOST_COMP_SYSC_DETECTION
# else
# undef ACTIV_BOOST_COMP_SYSC
# define ACTIV_BOOST_COMP_SYSC ACTIV_BOOST_COMP_SYSC_DETECTION
# endif
# define ACTIV_BOOST_COMP_SYSC_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_SYSC_NAME "Dignus Systems/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_SYSC,ACTIV_BOOST_COMP_SYSC_NAME)
#ifdef ACTIV_BOOST_COMP_SYSC_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_SYSC_EMULATED,ACTIV_BOOST_COMP_SYSC_NAME)
#endif
@@ -1,57 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_EDG_H
#define ACTIV_BOOST_PREDEF_COMPILER_EDG_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_EDG`
http://en.wikipedia.org/wiki/Edison_Design_Group[EDG {CPP} Frontend] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__EDG__+` | {predef_detection}
| `+__EDG_VERSION__+` | V.R.0
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_EDG ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__EDG__)
# define ACTIV_BOOST_COMP_EDG_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VRR(__EDG_VERSION__)
#endif
#ifdef ACTIV_BOOST_COMP_EDG_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_EDG_EMULATED ACTIV_BOOST_COMP_EDG_DETECTION
# else
# undef ACTIV_BOOST_COMP_EDG
# define ACTIV_BOOST_COMP_EDG ACTIV_BOOST_COMP_EDG_DETECTION
# endif
# define ACTIV_BOOST_COMP_EDG_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_EDG_NAME "EDG C++ Frontend"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_EDG,ACTIV_BOOST_COMP_EDG_NAME)
#ifdef ACTIV_BOOST_COMP_EDG_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_EDG_EMULATED,ACTIV_BOOST_COMP_EDG_NAME)
#endif
@@ -1,58 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_EKOPATH_H
#define ACTIV_BOOST_PREDEF_COMPILER_EKOPATH_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_PATH`
http://en.wikipedia.org/wiki/PathScale[EKOpath] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__PATHCC__+` | {predef_detection}
| `+__PATHCC__+`, `+__PATHCC_MINOR__+`, `+__PATHCC_PATCHLEVEL__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_PATH ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__PATHCC__)
# define ACTIV_BOOST_COMP_PATH_DETECTION \
ACTIV_BOOST_VERSION_NUMBER(__PATHCC__,__PATHCC_MINOR__,__PATHCC_PATCHLEVEL__)
#endif
#ifdef ACTIV_BOOST_COMP_PATH_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_PATH_EMULATED ACTIV_BOOST_COMP_PATH_DETECTION
# else
# undef ACTIV_BOOST_COMP_PATH
# define ACTIV_BOOST_COMP_PATH ACTIV_BOOST_COMP_PATH_DETECTION
# endif
# define ACTIV_BOOST_COMP_PATH_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_PATH_NAME "EKOpath"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_PATH,ACTIV_BOOST_COMP_PATH_NAME)
#ifdef ACTIV_BOOST_COMP_PATH_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_PATH_EMULATED,ACTIV_BOOST_COMP_PATH_NAME)
#endif
@@ -1,69 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_GCC_H
#define ACTIV_BOOST_PREDEF_COMPILER_GCC_H
/* Other compilers that emulate this one need to be detected first. */
#include <ActivBoost/predef/compiler/clang.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_GNUC`
http://en.wikipedia.org/wiki/GNU_Compiler_Collection[Gnu GCC C/{CPP}] compiler.
Version number available as major, minor, and patch (if available).
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__GNUC__+` | {predef_detection}
| `+__GNUC__+`, `+__GNUC_MINOR__+`, `+__GNUC_PATCHLEVEL__+` | V.R.P
| `+__GNUC__+`, `+__GNUC_MINOR__+` | V.R.0
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_GNUC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__GNUC__)
# if !defined(ACTIV_BOOST_COMP_GNUC_DETECTION) && defined(__GNUC_PATCHLEVEL__)
# define ACTIV_BOOST_COMP_GNUC_DETECTION \
ACTIV_BOOST_VERSION_NUMBER(__GNUC__,__GNUC_MINOR__,__GNUC_PATCHLEVEL__)
# endif
# if !defined(ACTIV_BOOST_COMP_GNUC_DETECTION)
# define ACTIV_BOOST_COMP_GNUC_DETECTION \
ACTIV_BOOST_VERSION_NUMBER(__GNUC__,__GNUC_MINOR__,0)
# endif
#endif
#ifdef ACTIV_BOOST_COMP_GNUC_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_GNUC_EMULATED ACTIV_BOOST_COMP_GNUC_DETECTION
# else
# undef ACTIV_BOOST_COMP_GNUC
# define ACTIV_BOOST_COMP_GNUC ACTIV_BOOST_COMP_GNUC_DETECTION
# endif
# define ACTIV_BOOST_COMP_GNUC_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_GNUC_NAME "Gnu GCC C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_GNUC,ACTIV_BOOST_COMP_GNUC_NAME)
#ifdef ACTIV_BOOST_COMP_GNUC_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_GNUC_EMULATED,ACTIV_BOOST_COMP_GNUC_NAME)
#endif
@@ -1,54 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_GCC_XML_H
#define ACTIV_BOOST_PREDEF_COMPILER_GCC_XML_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_GCCXML`
http://www.gccxml.org/[GCC XML] compiler.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__GCCXML__+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_GCCXML ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__GCCXML__)
# define ACTIV_BOOST_COMP_GCCXML_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#ifdef ACTIV_BOOST_COMP_GCCXML_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_GCCXML_EMULATED ACTIV_BOOST_COMP_GCCXML_DETECTION
# else
# undef ACTIV_BOOST_COMP_GCCXML
# define ACTIV_BOOST_COMP_GCCXML ACTIV_BOOST_COMP_GCCXML_DETECTION
# endif
# define ACTIV_BOOST_COMP_GCCXML_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_GCCXML_NAME "GCC XML"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_GCCXML,ACTIV_BOOST_COMP_GCCXML_NAME)
#ifdef ACTIV_BOOST_COMP_GCCXML_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_GCCXML_EMULATED,ACTIV_BOOST_COMP_GCCXML_NAME)
#endif
@@ -1,67 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_GREENHILLS_H
#define ACTIV_BOOST_PREDEF_COMPILER_GREENHILLS_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_GHS`
http://en.wikipedia.org/wiki/Green_Hills_Software[Green Hills C/{CPP}] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__ghs+` | {predef_detection}
| `+__ghs__+` | {predef_detection}
| `+__GHS_VERSION_NUMBER__+` | V.R.P
| `+__ghs+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_GHS ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__ghs) || defined(__ghs__)
# if !defined(ACTIV_BOOST_COMP_GHS_DETECTION) && defined(__GHS_VERSION_NUMBER__)
# define ACTIV_BOOST_COMP_GHS_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VRP(__GHS_VERSION_NUMBER__)
# endif
# if !defined(ACTIV_BOOST_COMP_GHS_DETECTION) && defined(__ghs)
# define ACTIV_BOOST_COMP_GHS_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VRP(__ghs)
# endif
# if !defined(ACTIV_BOOST_COMP_GHS_DETECTION)
# define ACTIV_BOOST_COMP_GHS_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#ifdef ACTIV_BOOST_COMP_GHS_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_GHS_EMULATED ACTIV_BOOST_COMP_GHS_DETECTION
# else
# undef ACTIV_BOOST_COMP_GHS
# define ACTIV_BOOST_COMP_GHS ACTIV_BOOST_COMP_GHS_DETECTION
# endif
# define ACTIV_BOOST_COMP_GHS_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_GHS_NAME "Green Hills C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_GHS,ACTIV_BOOST_COMP_GHS_NAME)
#ifdef ACTIV_BOOST_COMP_GHS_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_GHS_EMULATED,ACTIV_BOOST_COMP_GHS_NAME)
#endif
@@ -1,62 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_HP_ACC_H
#define ACTIV_BOOST_PREDEF_COMPILER_HP_ACC_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_HPACC`
HP a{CPP} compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__HP_aCC+` | {predef_detection}
| `+__HP_aCC+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_HPACC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__HP_aCC)
# if !defined(ACTIV_BOOST_COMP_HPACC_DETECTION) && (__HP_aCC > 1)
# define ACTIV_BOOST_COMP_HPACC_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VVRRPP(__HP_aCC)
# endif
# if !defined(ACTIV_BOOST_COMP_HPACC_DETECTION)
# define ACTIV_BOOST_COMP_HPACC_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#ifdef ACTIV_BOOST_COMP_HPACC_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_HPACC_EMULATED ACTIV_BOOST_COMP_HPACC_DETECTION
# else
# undef ACTIV_BOOST_COMP_HPACC
# define ACTIV_BOOST_COMP_HPACC ACTIV_BOOST_COMP_HPACC_DETECTION
# endif
# define ACTIV_BOOST_COMP_HPACC_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_HPACC_NAME "HP aC++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_HPACC,ACTIV_BOOST_COMP_HPACC_NAME)
#ifdef ACTIV_BOOST_COMP_HPACC_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_HPACC_EMULATED,ACTIV_BOOST_COMP_HPACC_NAME)
#endif
@@ -1,57 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_IAR_H
#define ACTIV_BOOST_PREDEF_COMPILER_IAR_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_IAR`
IAR C/{CPP} compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__IAR_SYSTEMS_ICC__+` | {predef_detection}
| `+__VER__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_IAR ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__IAR_SYSTEMS_ICC__)
# define ACTIV_BOOST_COMP_IAR_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VVRR(__VER__)
#endif
#ifdef ACTIV_BOOST_COMP_IAR_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_IAR_EMULATED ACTIV_BOOST_COMP_IAR_DETECTION
# else
# undef ACTIV_BOOST_COMP_IAR
# define ACTIV_BOOST_COMP_IAR ACTIV_BOOST_COMP_IAR_DETECTION
# endif
# define ACTIV_BOOST_COMP_IAR_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_IAR_NAME "IAR C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_IAR,ACTIV_BOOST_COMP_IAR_NAME)
#ifdef ACTIV_BOOST_COMP_IAR_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_IAR_EMULATED,ACTIV_BOOST_COMP_IAR_NAME)
#endif
@@ -1,73 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_IBM_H
#define ACTIV_BOOST_PREDEF_COMPILER_IBM_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_IBM`
http://en.wikipedia.org/wiki/VisualAge[IBM XL C/{CPP}] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__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
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_IBM ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__IBMCPP__) || defined(__xlC__) || defined(__xlc__)
# if !defined(ACTIV_BOOST_COMP_IBM_DETECTION) && defined(__COMPILER_VER__)
# define ACTIV_BOOST_COMP_IBM_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VRRPPPP(__COMPILER_VER__)
# endif
# if !defined(ACTIV_BOOST_COMP_IBM_DETECTION) && defined(__xlC__)
# define ACTIV_BOOST_COMP_IBM_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VVRR(__xlC__)
# endif
# if !defined(ACTIV_BOOST_COMP_IBM_DETECTION) && defined(__xlc__)
# define ACTIV_BOOST_COMP_IBM_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VVRR(__xlc__)
# endif
# if !defined(ACTIV_BOOST_COMP_IBM_DETECTION)
# define ACTIV_BOOST_COMP_IBM_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VRP(__IBMCPP__)
# endif
#endif
#ifdef ACTIV_BOOST_COMP_IBM_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_IBM_EMULATED ACTIV_BOOST_COMP_IBM_DETECTION
# else
# undef ACTIV_BOOST_COMP_IBM
# define ACTIV_BOOST_COMP_IBM ACTIV_BOOST_COMP_IBM_DETECTION
# endif
# define ACTIV_BOOST_COMP_IBM_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_IBM_NAME "IBM XL C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_IBM,ACTIV_BOOST_COMP_IBM_NAME)
#ifdef ACTIV_BOOST_COMP_IBM_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_IBM_EMULATED,ACTIV_BOOST_COMP_IBM_NAME)
#endif
@@ -1,80 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_INTEL_H
#define ACTIV_BOOST_PREDEF_COMPILER_INTEL_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_INTEL`
http://en.wikipedia.org/wiki/Intel_C%2B%2B[Intel C/{CPP}] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__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
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_INTEL ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \
defined(__ECC)
/* 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(ACTIV_BOOST_COMP_INTEL_DETECTION) && defined(__INTEL_COMPILER) && (__INTEL_COMPILER == 9999)
# define ACTIV_BOOST_COMP_INTEL_DETECTION ACTIV_BOOST_VERSION_NUMBER(12,1,0)
# endif
# if !defined(ACTIV_BOOST_COMP_INTEL_DETECTION) && defined(__INTEL_COMPILER) && defined(__INTEL_COMPILER_UPDATE)
# define ACTIV_BOOST_COMP_INTEL_DETECTION ACTIV_BOOST_VERSION_NUMBER( \
ACTIV_BOOST_VERSION_NUMBER_MAJOR(ACTIV_BOOST_PREDEF_MAKE_10_VVRR(__INTEL_COMPILER)), \
ACTIV_BOOST_VERSION_NUMBER_MINOR(ACTIV_BOOST_PREDEF_MAKE_10_VVRR(__INTEL_COMPILER)), \
__INTEL_COMPILER_UPDATE)
# endif
# if !defined(ACTIV_BOOST_COMP_INTEL_DETECTION) && defined(__INTEL_COMPILER)
# define ACTIV_BOOST_COMP_INTEL_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VVRR(__INTEL_COMPILER)
# endif
# if !defined(ACTIV_BOOST_COMP_INTEL_DETECTION)
# define ACTIV_BOOST_COMP_INTEL_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#ifdef ACTIV_BOOST_COMP_INTEL_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_INTEL_EMULATED ACTIV_BOOST_COMP_INTEL_DETECTION
# else
# undef ACTIV_BOOST_COMP_INTEL
# define ACTIV_BOOST_COMP_INTEL ACTIV_BOOST_COMP_INTEL_DETECTION
# endif
# define ACTIV_BOOST_COMP_INTEL_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_INTEL_NAME "Intel C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_INTEL,ACTIV_BOOST_COMP_INTEL_NAME)
#ifdef ACTIV_BOOST_COMP_INTEL_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_INTEL_EMULATED,ACTIV_BOOST_COMP_INTEL_NAME)
#endif
@@ -1,57 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_KAI_H
#define ACTIV_BOOST_PREDEF_COMPILER_KAI_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_KCC`
Kai {CPP} compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__KCC+` | {predef_detection}
| `+__KCC_VERSION+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_KCC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__KCC)
# define ACTIV_BOOST_COMP_KCC_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VRPP(__KCC_VERSION)
#endif
#ifdef ACTIV_BOOST_COMP_KCC_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_KCC_EMULATED ACTIV_BOOST_COMP_KCC_DETECTION
# else
# undef ACTIV_BOOST_COMP_KCC
# define ACTIV_BOOST_COMP_KCC ACTIV_BOOST_COMP_KCC_DETECTION
# endif
# define ACTIV_BOOST_COMP_KCC_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_KCC_NAME "Kai C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_KCC,ACTIV_BOOST_COMP_KCC_NAME)
#ifdef ACTIV_BOOST_COMP_KCC_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_KCC_EMULATED,ACTIV_BOOST_COMP_KCC_NAME)
#endif
@@ -1,58 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_LLVM_H
#define ACTIV_BOOST_PREDEF_COMPILER_LLVM_H
/* Other compilers that emulate this one need to be detected first. */
#include <ActivBoost/predef/compiler/clang.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_LLVM`
http://en.wikipedia.org/wiki/LLVM[LLVM] compiler.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__llvm__+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_LLVM ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__llvm__)
# define ACTIV_BOOST_COMP_LLVM_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#ifdef ACTIV_BOOST_COMP_LLVM_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_LLVM_EMULATED ACTIV_BOOST_COMP_LLVM_DETECTION
# else
# undef ACTIV_BOOST_COMP_LLVM
# define ACTIV_BOOST_COMP_LLVM ACTIV_BOOST_COMP_LLVM_DETECTION
# endif
# define ACTIV_BOOST_COMP_LLVM_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_LLVM_NAME "LLVM"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_LLVM,ACTIV_BOOST_COMP_LLVM_NAME)
#ifdef ACTIV_BOOST_COMP_LLVM_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_LLVM_EMULATED,ACTIV_BOOST_COMP_LLVM_NAME)
#endif
@@ -1,54 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_METAWARE_H
#define ACTIV_BOOST_PREDEF_COMPILER_METAWARE_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_HIGHC`
MetaWare High C/{CPP} compiler.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__HIGHC__+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_HIGHC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__HIGHC__)
# define ACTIV_BOOST_COMP_HIGHC_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#ifdef ACTIV_BOOST_COMP_HIGHC_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_HIGHC_EMULATED ACTIV_BOOST_COMP_HIGHC_DETECTION
# else
# undef ACTIV_BOOST_COMP_HIGHC
# define ACTIV_BOOST_COMP_HIGHC ACTIV_BOOST_COMP_HIGHC_DETECTION
# endif
# define ACTIV_BOOST_COMP_HIGHC_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_HIGHC_NAME "MetaWare High C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_HIGHC,ACTIV_BOOST_COMP_HIGHC_NAME)
#ifdef ACTIV_BOOST_COMP_HIGHC_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_HIGHC_EMULATED,ACTIV_BOOST_COMP_HIGHC_NAME)
#endif
@@ -1,78 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_METROWERKS_H
#define ACTIV_BOOST_PREDEF_COMPILER_METROWERKS_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_MWERKS`
http://en.wikipedia.org/wiki/CodeWarrior[Metrowerks CodeWarrior] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__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
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_MWERKS ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__MWERKS__) || defined(__CWCC__)
# if !defined(ACTIV_BOOST_COMP_MWERKS_DETECTION) && defined(__CWCC__)
# define ACTIV_BOOST_COMP_MWERKS_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VRPP(__CWCC__)
# endif
# if !defined(ACTIV_BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x4200)
# define ACTIV_BOOST_COMP_MWERKS_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VRPP(__MWERKS__)
# endif
# if !defined(ACTIV_BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3204) // note the "skip": 04->9.3
# define ACTIV_BOOST_COMP_MWERKS_DETECTION ACTIV_BOOST_VERSION_NUMBER(9,(__MWERKS__)%100-1,0)
# endif
# if !defined(ACTIV_BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3200)
# define ACTIV_BOOST_COMP_MWERKS_DETECTION ACTIV_BOOST_VERSION_NUMBER(9,(__MWERKS__)%100,0)
# endif
# if !defined(ACTIV_BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3000)
# define ACTIV_BOOST_COMP_MWERKS_DETECTION ACTIV_BOOST_VERSION_NUMBER(8,(__MWERKS__)%100,0)
# endif
# if !defined(ACTIV_BOOST_COMP_MWERKS_DETECTION)
# define ACTIV_BOOST_COMP_MWERKS_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#ifdef ACTIV_BOOST_COMP_MWERKS_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_MWERKS_EMULATED ACTIV_BOOST_COMP_MWERKS_DETECTION
# else
# undef ACTIV_BOOST_COMP_MWERKS
# define ACTIV_BOOST_COMP_MWERKS ACTIV_BOOST_COMP_MWERKS_DETECTION
# endif
# define ACTIV_BOOST_COMP_MWERKS_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_MWERKS_NAME "Metrowerks CodeWarrior"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_MWERKS,ACTIV_BOOST_COMP_MWERKS_NAME)
#ifdef ACTIV_BOOST_COMP_MWERKS_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_MWERKS_EMULATED,ACTIV_BOOST_COMP_MWERKS_NAME)
#endif
@@ -1,54 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_MICROTEC_H
#define ACTIV_BOOST_PREDEF_COMPILER_MICROTEC_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_MRI`
http://www.mentor.com/microtec/[Microtec C/{CPP}] compiler.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+_MRI+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_MRI ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(_MRI)
# define ACTIV_BOOST_COMP_MRI_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#ifdef ACTIV_BOOST_COMP_MRI_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_MRI_EMULATED ACTIV_BOOST_COMP_MRI_DETECTION
# else
# undef ACTIV_BOOST_COMP_MRI
# define ACTIV_BOOST_COMP_MRI ACTIV_BOOST_COMP_MRI_DETECTION
# endif
# define ACTIV_BOOST_COMP_MRI_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_MRI_NAME "Microtec C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_MRI,ACTIV_BOOST_COMP_MRI_NAME)
#ifdef ACTIV_BOOST_COMP_MRI_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_MRI_EMULATED,ACTIV_BOOST_COMP_MRI_NAME)
#endif
@@ -1,64 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_MPW_H
#define ACTIV_BOOST_PREDEF_COMPILER_MPW_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_MPW`
http://en.wikipedia.org/wiki/Macintosh_Programmer%27s_Workshop[MPW {CPP}] compiler.
Version number available as major, and minor.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__MRC__+` | {predef_detection}
| `MPW_C` | {predef_detection}
| `MPW_CPLUS` | {predef_detection}
| `+__MRC__+` | V.R.0
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_MPW ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__MRC__) || defined(MPW_C) || defined(MPW_CPLUS)
# if !defined(ACTIV_BOOST_COMP_MPW_DETECTION) && defined(__MRC__)
# define ACTIV_BOOST_COMP_MPW_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VVRR(__MRC__)
# endif
# if !defined(ACTIV_BOOST_COMP_MPW_DETECTION)
# define ACTIV_BOOST_COMP_MPW_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#ifdef ACTIV_BOOST_COMP_MPW_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_MPW_EMULATED ACTIV_BOOST_COMP_MPW_DETECTION
# else
# undef ACTIV_BOOST_COMP_MPW
# define ACTIV_BOOST_COMP_MPW ACTIV_BOOST_COMP_MPW_DETECTION
# endif
# define ACTIV_BOOST_COMP_MPW_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_MPW_NAME "MPW C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_MPW,ACTIV_BOOST_COMP_MPW_NAME)
#ifdef ACTIV_BOOST_COMP_MPW_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_MPW_EMULATED,ACTIV_BOOST_COMP_MPW_NAME)
#endif
@@ -1,74 +0,0 @@
/*
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 ACTIV_BOOST_PREDEF_COMPILER_NVCC_H
#define ACTIV_BOOST_PREDEF_COMPILER_NVCC_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_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 ACTIV_BOOST_COMP_NVCC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__NVCC__)
# if !defined(__CUDACC_VER_MAJOR__) || !defined(__CUDACC_VER_MINOR__) || !defined(__CUDACC_VER_BUILD__)
# define ACTIV_BOOST_COMP_NVCC_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# else
# define ACTIV_BOOST_COMP_NVCC_DETECTION ACTIV_BOOST_VERSION_NUMBER(__CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, __CUDACC_VER_BUILD__)
# endif
#endif
#ifdef ACTIV_BOOST_COMP_NVCC_DETECTION
/*
Always define ACTIV_BOOST_COMP_NVCC instead of ACTIV_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 ACTIV_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 ACTIV_BOOST_COMP_NVCC
# define ACTIV_BOOST_COMP_NVCC ACTIV_BOOST_COMP_NVCC_DETECTION
# define ACTIV_BOOST_COMP_NVCC_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_NVCC_NAME "NVCC"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_NVCC,ACTIV_BOOST_COMP_NVCC_NAME)
@@ -1,57 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_PALM_H
#define ACTIV_BOOST_PREDEF_COMPILER_PALM_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_PALM`
Palm C/{CPP} compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+_PACC_VER+` | {predef_detection}
| `+_PACC_VER+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_PALM ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(_PACC_VER)
# define ACTIV_BOOST_COMP_PALM_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VRRPP000(_PACC_VER)
#endif
#ifdef ACTIV_BOOST_COMP_PALM_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_PALM_EMULATED ACTIV_BOOST_COMP_PALM_DETECTION
# else
# undef ACTIV_BOOST_COMP_PALM
# define ACTIV_BOOST_COMP_PALM ACTIV_BOOST_COMP_PALM_DETECTION
# endif
# define ACTIV_BOOST_COMP_PALM_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_PALM_NAME "Palm C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_PALM,ACTIV_BOOST_COMP_PALM_NAME)
#ifdef ACTIV_BOOST_COMP_PALM_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_PALM_EMULATED,ACTIV_BOOST_COMP_PALM_NAME)
#endif
@@ -1,61 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_PGI_H
#define ACTIV_BOOST_PREDEF_COMPILER_PGI_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_PGI`
http://en.wikipedia.org/wiki/The_Portland_Group[Portland Group C/{CPP}] compiler.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__PGI+` | {predef_detection}
| `+__PGIC__+`, `+__PGIC_MINOR__+`, `+__PGIC_PATCHLEVEL__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_PGI ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__PGI)
# if !defined(ACTIV_BOOST_COMP_PGI_DETECTION) && (defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__))
# define ACTIV_BOOST_COMP_PGI_DETECTION ACTIV_BOOST_VERSION_NUMBER(__PGIC__,__PGIC_MINOR__,__PGIC_PATCHLEVEL__)
# endif
# if !defined(ACTIV_BOOST_COMP_PGI_DETECTION)
# define ACTIV_BOOST_COMP_PGI_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#ifdef ACTIV_BOOST_COMP_PGI_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_PGI_EMULATED ACTIV_BOOST_COMP_PGI_DETECTION
# else
# undef ACTIV_BOOST_COMP_PGI
# define ACTIV_BOOST_COMP_PGI ACTIV_BOOST_COMP_PGI_DETECTION
# endif
# define ACTIV_BOOST_COMP_PGI_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_PGI_NAME "Portland Group C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_PGI,ACTIV_BOOST_COMP_PGI_NAME)
#ifdef ACTIV_BOOST_COMP_PGI_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_PGI_EMULATED,ACTIV_BOOST_COMP_PGI_NAME)
#endif
@@ -1,67 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_SGI_MIPSPRO_H
#define ACTIV_BOOST_PREDEF_COMPILER_SGI_MIPSPRO_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_SGI`
http://en.wikipedia.org/wiki/MIPSpro[SGI MIPSpro] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__sgi+` | {predef_detection}
| `sgi` | {predef_detection}
| `+_SGI_COMPILER_VERSION+` | V.R.P
| `+_COMPILER_VERSION+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_SGI ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__sgi) || defined(sgi)
# if !defined(ACTIV_BOOST_COMP_SGI_DETECTION) && defined(_SGI_COMPILER_VERSION)
# define ACTIV_BOOST_COMP_SGI_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VRP(_SGI_COMPILER_VERSION)
# endif
# if !defined(ACTIV_BOOST_COMP_SGI_DETECTION) && defined(_COMPILER_VERSION)
# define ACTIV_BOOST_COMP_SGI_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VRP(_COMPILER_VERSION)
# endif
# if !defined(ACTIV_BOOST_COMP_SGI_DETECTION)
# define ACTIV_BOOST_COMP_SGI_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#ifdef ACTIV_BOOST_COMP_SGI_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_SGI_EMULATED ACTIV_BOOST_COMP_SGI_DETECTION
# else
# undef ACTIV_BOOST_COMP_SGI
# define ACTIV_BOOST_COMP_SGI ACTIV_BOOST_COMP_SGI_DETECTION
# endif
# define ACTIV_BOOST_COMP_SGI_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_SGI_NAME "SGI MIPSpro"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_SGI,ACTIV_BOOST_COMP_SGI_NAME)
#ifdef ACTIV_BOOST_COMP_SGI_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_SGI_EMULATED,ACTIV_BOOST_COMP_SGI_NAME)
#endif
@@ -1,77 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_SUNPRO_H
#define ACTIV_BOOST_PREDEF_COMPILER_SUNPRO_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_SUNPRO`
http://en.wikipedia.org/wiki/Oracle_Solaris_Studio[Oracle Solaris Studio] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__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
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_SUNPRO ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__SUNPRO_CC) || defined(__SUNPRO_C)
# if !defined(ACTIV_BOOST_COMP_SUNPRO_DETECTION) && defined(__SUNPRO_CC)
# if (__SUNPRO_CC < 0x5100)
# define ACTIV_BOOST_COMP_SUNPRO_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VRP(__SUNPRO_CC)
# else
# define ACTIV_BOOST_COMP_SUNPRO_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VVRRP(__SUNPRO_CC)
# endif
# endif
# if !defined(ACTIV_BOOST_COMP_SUNPRO_DETECTION) && defined(__SUNPRO_C)
# if (__SUNPRO_C < 0x5100)
# define ACTIV_BOOST_COMP_SUNPRO_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VRP(__SUNPRO_C)
# else
# define ACTIV_BOOST_COMP_SUNPRO_DETECTION ACTIV_BOOST_PREDEF_MAKE_0X_VVRRP(__SUNPRO_C)
# endif
# endif
# if !defined(ACTIV_BOOST_COMP_SUNPRO_DETECTION)
# define ACTIV_BOOST_COMP_SUNPRO_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#ifdef ACTIV_BOOST_COMP_SUNPRO_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_SUNPRO_EMULATED ACTIV_BOOST_COMP_SUNPRO_DETECTION
# else
# undef ACTIV_BOOST_COMP_SUNPRO
# define ACTIV_BOOST_COMP_SUNPRO ACTIV_BOOST_COMP_SUNPRO_DETECTION
# endif
# define ACTIV_BOOST_COMP_SUNPRO_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_SUNPRO_NAME "Oracle Solaris Studio"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_SUNPRO,ACTIV_BOOST_COMP_SUNPRO_NAME)
#ifdef ACTIV_BOOST_COMP_SUNPRO_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_SUNPRO_EMULATED,ACTIV_BOOST_COMP_SUNPRO_NAME)
#endif
@@ -1,54 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_TENDRA_H
#define ACTIV_BOOST_PREDEF_COMPILER_TENDRA_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_TENDRA`
http://en.wikipedia.org/wiki/TenDRA_Compiler[TenDRA C/{CPP}] compiler.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__TenDRA__+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_TENDRA ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__TenDRA__)
# define ACTIV_BOOST_COMP_TENDRA_DETECTION ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#ifdef ACTIV_BOOST_COMP_TENDRA_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_TENDRA_EMULATED ACTIV_BOOST_COMP_TENDRA_DETECTION
# else
# undef ACTIV_BOOST_COMP_TENDRA
# define ACTIV_BOOST_COMP_TENDRA ACTIV_BOOST_COMP_TENDRA_DETECTION
# endif
# define ACTIV_BOOST_COMP_TENDRA_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_TENDRA_NAME "TenDRA C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_TENDRA,ACTIV_BOOST_COMP_TENDRA_NAME)
#ifdef ACTIV_BOOST_COMP_TENDRA_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_TENDRA_EMULATED,ACTIV_BOOST_COMP_TENDRA_NAME)
#endif
@@ -1,106 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_VISUALC_H
#define ACTIV_BOOST_PREDEF_COMPILER_VISUALC_H
/* Other compilers that emulate this one need to be detected first. */
#include <ActivBoost/predef/compiler/clang.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_MSVC`
http://en.wikipedia.org/wiki/Visual_studio[Microsoft Visual C/{CPP}] compiler.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+_MSC_VER+` | {predef_detection}
| `+_MSC_FULL_VER+` | V.R.P
| `+_MSC_VER+` | V.R.0
|===
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.
*/ // end::reference[]
#define ACTIV_BOOST_COMP_MSVC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(_MSC_VER)
# if !defined (_MSC_FULL_VER)
# define ACTIV_BOOST_COMP_MSVC_BUILD 0
# else
/* how many digits does the build number have? */
# if _MSC_FULL_VER / 10000 == _MSC_VER
/* four digits */
# define ACTIV_BOOST_COMP_MSVC_BUILD (_MSC_FULL_VER % 10000)
# elif _MSC_FULL_VER / 100000 == _MSC_VER
/* five digits */
# define ACTIV_BOOST_COMP_MSVC_BUILD (_MSC_FULL_VER % 100000)
# else
# error "Cannot determine build number from _MSC_FULL_VER"
# endif
# endif
/*
VS2014 was skipped in the release sequence for MS. Which
means that the compiler and VS product versions are no longer
in sync. Hence we need to use different formulas for
mapping from MSC version to VS product version.
VS2017 is a total nightmare when it comes to version numbers.
Hence to avoid arguments relating to that both present and
future.. Any version after VS2015 will use solely the compiler
version, i.e. cl.exe, as the version number here.
*/
# if (_MSC_VER > 1900)
# define ACTIV_BOOST_COMP_MSVC_DETECTION ACTIV_BOOST_VERSION_NUMBER(\
_MSC_VER/100,\
_MSC_VER%100,\
ACTIV_BOOST_COMP_MSVC_BUILD)
# elif (_MSC_VER >= 1900)
# define ACTIV_BOOST_COMP_MSVC_DETECTION ACTIV_BOOST_VERSION_NUMBER(\
_MSC_VER/100-5,\
_MSC_VER%100,\
ACTIV_BOOST_COMP_MSVC_BUILD)
# else
# define ACTIV_BOOST_COMP_MSVC_DETECTION ACTIV_BOOST_VERSION_NUMBER(\
_MSC_VER/100-6,\
_MSC_VER%100,\
ACTIV_BOOST_COMP_MSVC_BUILD)
# endif
#endif
#ifdef ACTIV_BOOST_COMP_MSVC_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_MSVC_EMULATED ACTIV_BOOST_COMP_MSVC_DETECTION
# else
# undef ACTIV_BOOST_COMP_MSVC
# define ACTIV_BOOST_COMP_MSVC ACTIV_BOOST_COMP_MSVC_DETECTION
# endif
# define ACTIV_BOOST_COMP_MSVC_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_MSVC_NAME "Microsoft Visual C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_MSVC,ACTIV_BOOST_COMP_MSVC_NAME)
#ifdef ACTIV_BOOST_COMP_MSVC_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_MSVC_EMULATED,ACTIV_BOOST_COMP_MSVC_NAME)
#endif
@@ -1,57 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_COMPILER_WATCOM_H
#define ACTIV_BOOST_PREDEF_COMPILER_WATCOM_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_COMP_WATCOM`
http://en.wikipedia.org/wiki/Watcom[Watcom {CPP}] compiler.
Version number available as major, and minor.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__WATCOMC__+` | {predef_detection}
| `+__WATCOMC__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_COMP_WATCOM ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__WATCOMC__)
# define ACTIV_BOOST_COMP_WATCOM_DETECTION ACTIV_BOOST_PREDEF_MAKE_10_VVRR(__WATCOMC__)
#endif
#ifdef ACTIV_BOOST_COMP_WATCOM_DETECTION
# if defined(ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define ACTIV_BOOST_COMP_WATCOM_EMULATED ACTIV_BOOST_COMP_WATCOM_DETECTION
# else
# undef ACTIV_BOOST_COMP_WATCOM
# define ACTIV_BOOST_COMP_WATCOM ACTIV_BOOST_COMP_WATCOM_DETECTION
# endif
# define ACTIV_BOOST_COMP_WATCOM_AVAILABLE
# include <ActivBoost/predef/detail/comp_detected.h>
#endif
#define ACTIV_BOOST_COMP_WATCOM_NAME "Watcom C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_WATCOM,ACTIV_BOOST_COMP_WATCOM_NAME)
#ifdef ACTIV_BOOST_COMP_WATCOM_EMULATED
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_COMP_WATCOM_EMULATED,ACTIV_BOOST_COMP_WATCOM_NAME)
#endif
@@ -1,17 +0,0 @@
/*
Copyright Rene Rivera 2011-2012
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 ACTIV_BOOST_PREDEF_DETAIL__CASSERT_H
#define ACTIV_BOOST_PREDEF_DETAIL__CASSERT_H
#if defined(__cplusplus)
#include <cassert>
#else
#include <assert.h>
#endif
#endif
@@ -1,15 +0,0 @@
/*
Copyright Rene Rivera 2011-2012
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 ACTIV_BOOST_PREDEF_DETAIL__EXCEPTION_H
#define ACTIV_BOOST_PREDEF_DETAIL__EXCEPTION_H
#if defined(__cplusplus)
#include <exception>
#endif
#endif
@@ -1,10 +0,0 @@
/*
Copyright Rene Rivera 2014
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 ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED
#define ACTIV_BOOST_PREDEF_DETAIL_COMP_DETECTED 1
#endif
@@ -1,10 +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 ACTIV_BOOST_PREDEF_DETAIL_OS_DETECTED
#define ACTIV_BOOST_PREDEF_DETAIL_OS_DETECTED 1
#endif
@@ -1,10 +0,0 @@
/*
Copyright Rene Rivera 2014
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 ACTIV_BOOST_PREDEF_DETAIL_PLAT_DETECTED
#define ACTIV_BOOST_PREDEF_DETAIL_PLAT_DETECTED 1
#endif
@@ -1,17 +0,0 @@
/*
Copyright Rene Rivera 2011-2012
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 ACTIV_BOOST_PREDEF_DETAIL_TEST_H
#define ACTIV_BOOST_PREDEF_DETAIL_TEST_H
#if !defined(ACTIV_BOOST_PREDEF_INTERNAL_GENERATE_TESTS)
#define ACTIV_BOOST_PREDEF_DECLARE_TEST(x,s)
#endif
#endif
@@ -1,71 +0,0 @@
/*
Copyright Rene Rivera 2011-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)
*/
#include <ActivBoost/predef.h>
#define ACTIV_BOOST_PREDEF_INTERNAL_GENERATE_TESTS
void * add_predef_entry(const char * name, const char * description, unsigned value);
#undef ACTIV_BOOST_PREDEF_DECLARE_TEST
#define ACTIV_BOOST_PREDEF_DECLARE_TEST(x,s) void predef_entry_##x() { add_predef_entry(#x, s, x); }
#include <ActivBoost/predef.h>
#undef ACTIV_BOOST_PREDEF_DECLARE_TEST
#define ACTIV_BOOST_PREDEF_DECLARE_TEST(x,s) predef_entry_##x();
void create_predef_entries()
{
#include <ActivBoost/predef.h>
}
#ifdef __cplusplus
#include <cstring>
#include <cstdio>
#include <cstdlib>
using namespace std;
#else
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#endif
typedef struct predef_info
{
const char * name;
const char * description;
unsigned value;
} predef_info;
#ifdef __cplusplus
using namespace std;
#endif
unsigned generated_predef_info_count = 0;
predef_info* generated_predef_info = 0;
void * add_predef_entry(const char * name, const char * description, unsigned value)
{
if (0 == generated_predef_info_count)
{
generated_predef_info_count = 1;
generated_predef_info = (predef_info*)malloc(sizeof(predef_info));
}
else
{
generated_predef_info_count += 1;
generated_predef_info = (predef_info*)realloc(generated_predef_info,
generated_predef_info_count*sizeof(predef_info));
}
generated_predef_info[generated_predef_info_count-1].name = name;
generated_predef_info[generated_predef_info_count-1].description = description;
generated_predef_info[generated_predef_info_count-1].value = value;
return 0;
}
int predef_info_compare(const void * a, const void * b)
{
const predef_info * i = (const predef_info *)a;
const predef_info * j = (const predef_info *)b;
return strcmp(i->name,j->name);
}
@@ -1,16 +0,0 @@
/*
Copyright Charly Chevalier 2015
Copyright Joel Falcou 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)
*/
#if !defined(ACTIV_BOOST_PREDEF_HARDWARE_H) || defined(ACTIV_BOOST_PREDEF_INTERNAL_GENERATE_TESTS)
#ifndef ACTIV_BOOST_PREDEF_HARDWARE_H
#define ACTIV_BOOST_PREDEF_HARDWARE_H
#endif
#include <ActivBoost/predef/hardware/simd.h>
#endif
@@ -1,168 +0,0 @@
/*
Copyright Charly Chevalier 2015
Copyright Joel Falcou 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)
*/
#include <ActivBoost/predef/hardware/simd/x86.h>
#include <ActivBoost/predef/hardware/simd/x86_amd.h>
#include <ActivBoost/predef/hardware/simd/arm.h>
#include <ActivBoost/predef/hardware/simd/ppc.h>
#ifndef ACTIV_BOOST_PREDEF_HARDWARE_SIMD_H
#define ACTIV_BOOST_PREDEF_HARDWARE_SIMD_H
#include <ActivBoost/predef/version_number.h>
/* tag::reference[]
= Using the `ACTIV_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 <ActivBoost/predef/hardware/simd.h>
#include <iostream>
int main()
{
#if defined(ACTIV_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 `ACTIV_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 `ACTIV_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 <ActivBoost/predef/hardware/simd.h>
#include <iostream>
int main()
{
#if ACTIV_BOOST_HW_SIMD_X86 >= ACTIV_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 <ActivBoost/predef/hardware/simd.h>
#include <iostream>
int main()
{
#if ACTIV_BOOST_HW_SIMD_X86 == ACTIV_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 <ActivBoost/predef/hardware/simd.h>
#include <iostream>
int main()
{
#if ACTIV_BOOST_HW_SIMD_X86 >= ACTIV_BOOST_HW_SIMD_X86_SSE2_VERSION &&\
ACTIV_BOOST_HW_SIMD_X86 <= ACTIV_BOOST_HW_SIMD_X86_SSSE3_VERSION
std::cout << "This is SSE2, SSE3 and SSSE3!" << std::endl;
#endif
return 0;
}
----
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].
*/ // end::reference[]
// We check if SIMD extension of multiples architectures have been detected,
// if yes, then this is an error!
//
// NOTE: _X86_AMD implies _X86, so there is no need to check for it here!
//
#if defined(ACTIV_BOOST_HW_SIMD_ARM_AVAILABLE) && defined(ACTIV_BOOST_HW_SIMD_PPC_AVAILABLE) ||\
defined(ACTIV_BOOST_HW_SIMD_ARM_AVAILABLE) && defined(ACTIV_BOOST_HW_SIMD_X86_AVAILABLE) ||\
defined(ACTIV_BOOST_HW_SIMD_PPC_AVAILABLE) && defined(ACTIV_BOOST_HW_SIMD_X86_AVAILABLE)
# error "Multiple SIMD architectures detected, this cannot happen!"
#endif
#if defined(ACTIV_BOOST_HW_SIMD_X86_AVAILABLE) && defined(ACTIV_BOOST_HW_SIMD_X86_AMD_AVAILABLE)
// If both standard _X86 and _X86_AMD are available,
// then take the biggest version of the two!
# if ACTIV_BOOST_HW_SIMD_X86 >= ACTIV_BOOST_HW_SIMD_X86_AMD
# define ACTIV_BOOST_HW_SIMD ACTIV_BOOST_HW_SIMD_X86
# else
# define ACTIV_BOOST_HW_SIMD ACTIV_BOOST_HW_SIMD_X86_AMD
# endif
#endif
#if !defined(ACTIV_BOOST_HW_SIMD)
// At this point, only one of these two is defined
# if defined(ACTIV_BOOST_HW_SIMD_X86_AVAILABLE)
# define ACTIV_BOOST_HW_SIMD ACTIV_BOOST_HW_SIMD_X86
# endif
# if defined(ACTIV_BOOST_HW_SIMD_X86_AMD_AVAILABLE)
# define ACTIV_BOOST_HW_SIMD ACTIV_BOOST_HW_SIMD_X86_AMD
# endif
#endif
#if defined(ACTIV_BOOST_HW_SIMD_ARM_AVAILABLE)
# define ACTIV_BOOST_HW_SIMD ACTIV_BOOST_HW_SIMD_ARM
#endif
#if defined(ACTIV_BOOST_HW_SIMD_PPC_AVAILABLE)
# define ACTIV_BOOST_HW_SIMD ACTIV_BOOST_HW_SIMD_PPC
#endif
#if defined(ACTIV_BOOST_HW_SIMD)
# define ACTIV_BOOST_HW_SIMD_AVAILABLE
#else
# define ACTIV_BOOST_HW_SIMD ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#endif
#define ACTIV_BOOST_HW_SIMD_NAME "Hardware SIMD"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_HW_SIMD, ACTIV_BOOST_HW_SIMD_NAME)
@@ -1,61 +0,0 @@
/*
Copyright Charly Chevalier 2015
Copyright Joel Falcou 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 ACTIV_BOOST_PREDEF_HARDWARE_SIMD_ARM_H
#define ACTIV_BOOST_PREDEF_HARDWARE_SIMD_ARM_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/hardware/simd/arm/versions.h>
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_ARM`
The SIMD extension for ARM (*if detected*).
Version number depends on the most recent detected extension.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__ARM_NEON__+` | {predef_detection}
| `+__aarch64__+` | {predef_detection}
| `+_M_ARM+` | {predef_detection}
| `+_M_ARM64+` | {predef_detection}
|===
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__ARM_NEON__+` | ACTIV_BOOST_HW_SIMD_ARM_NEON_VERSION
| `+__aarch64__+` | ACTIV_BOOST_HW_SIMD_ARM_NEON_VERSION
| `+_M_ARM+` | ACTIV_BOOST_HW_SIMD_ARM_NEON_VERSION
| `+_M_ARM64+` | ACTIV_BOOST_HW_SIMD_ARM_NEON_VERSION
|===
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_ARM ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#undef ACTIV_BOOST_HW_SIMD_ARM
#if !defined(ACTIV_BOOST_HW_SIMD_ARM) && (defined(__ARM_NEON__) || defined(__aarch64__) || defined (_M_ARM) || defined (_M_ARM64))
# define ACTIV_BOOST_HW_SIMD_ARM ACTIV_BOOST_HW_SIMD_ARM_NEON_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_ARM)
# define ACTIV_BOOST_HW_SIMD_ARM ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#else
# define ACTIV_BOOST_HW_SIMD_ARM_AVAILABLE
#endif
#define ACTIV_BOOST_HW_SIMD_ARM_NAME "ARM SIMD"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_HW_SIMD_ARM, ACTIV_BOOST_HW_SIMD_ARM_NAME)
@@ -1,38 +0,0 @@
/*
Copyright Charly Chevalier 2015
Copyright Joel Falcou 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 ACTIV_BOOST_PREDEF_HARDWARE_SIMD_ARM_VERSIONS_H
#define ACTIV_BOOST_PREDEF_HARDWARE_SIMD_ARM_VERSIONS_H
#include <ActivBoost/predef/version_number.h>
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_ARM_*_VERSION`
Those defines represent ARM SIMD extensions versions.
NOTE: You *MUST* compare them with the predef `ACTIV_BOOST_HW_SIMD_ARM`.
*/ // end::reference[]
// ---------------------------------
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_ARM_NEON_VERSION`
The https://en.wikipedia.org/wiki/ARM_architecture#Advanced_SIMD_.28NEON.29[NEON]
ARM extension version number.
Version number is: *1.0.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_ARM_NEON_VERSION ACTIV_BOOST_VERSION_NUMBER(1, 0, 0)
/* tag::reference[]
*/ // end::reference[]
#endif
@@ -1,71 +0,0 @@
/*
Copyright Charly Chevalier 2015
Copyright Joel Falcou 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 ACTIV_BOOST_PREDEF_HARDWARE_SIMD_PPC_H
#define ACTIV_BOOST_PREDEF_HARDWARE_SIMD_PPC_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/hardware/simd/ppc/versions.h>
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_PPC`
The SIMD extension for PowerPC (*if detected*).
Version number depends on the most recent detected extension.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__VECTOR4DOUBLE__+` | {predef_detection}
| `+__ALTIVEC__+` | {predef_detection}
| `+__VEC__+` | {predef_detection}
| `+__VSX__+` | {predef_detection}
|===
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__VECTOR4DOUBLE__+` | ACTIV_BOOST_HW_SIMD_PPC_QPX_VERSION
| `+__ALTIVEC__+` | ACTIV_BOOST_HW_SIMD_PPC_VMX_VERSION
| `+__VEC__+` | ACTIV_BOOST_HW_SIMD_PPC_VMX_VERSION
| `+__VSX__+` | ACTIV_BOOST_HW_SIMD_PPC_VSX_VERSION
|===
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_PPC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#undef ACTIV_BOOST_HW_SIMD_PPC
#if !defined(ACTIV_BOOST_HW_SIMD_PPC) && defined(__VECTOR4DOUBLE__)
# define ACTIV_BOOST_HW_SIMD_PPC ACTIV_BOOST_HW_SIMD_PPC_QPX_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_PPC) && defined(__VSX__)
# define ACTIV_BOOST_HW_SIMD_PPC ACTIV_BOOST_HW_SIMD_PPC_VSX_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_PPC) && (defined(__ALTIVEC__) || defined(__VEC__))
# define ACTIV_BOOST_HW_SIMD_PPC ACTIV_BOOST_HW_SIMD_PPC_VMX_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_PPC)
# define ACTIV_BOOST_HW_SIMD_PPC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#else
# define ACTIV_BOOST_HW_SIMD_PPC_AVAILABLE
#endif
#define ACTIV_BOOST_HW_SIMD_PPC_NAME "PPC SIMD"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_HW_SIMD_PPC, ACTIV_BOOST_HW_SIMD_PPC_NAME)
@@ -1,57 +0,0 @@
/*
Copyright Charly Chevalier 2015
Copyright Joel Falcou 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 ACTIV_BOOST_PREDEF_HARDWARE_SIMD_PPC_VERSIONS_H
#define ACTIV_BOOST_PREDEF_HARDWARE_SIMD_PPC_VERSIONS_H
#include <ActivBoost/predef/version_number.h>
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_PPC_*_VERSION`
Those defines represent Power PC SIMD extensions versions.
NOTE: You *MUST* compare them with the predef `ACTIV_BOOST_HW_SIMD_PPC`.
*/ // end::reference[]
// ---------------------------------
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_PPC_VMX_VERSION`
The https://en.wikipedia.org/wiki/AltiVec#VMX128[VMX] powerpc extension
version number.
Version number is: *1.0.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_PPC_VMX_VERSION ACTIV_BOOST_VERSION_NUMBER(1, 0, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_PPC_VSX_VERSION`
The https://en.wikipedia.org/wiki/AltiVec#VSX[VSX] powerpc extension version
number.
Version number is: *1.1.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_PPC_VSX_VERSION ACTIV_BOOST_VERSION_NUMBER(1, 1, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_PPC_QPX_VERSION`
The QPX powerpc extension version number.
Version number is: *2.0.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_PPC_QPX_VERSION ACTIV_BOOST_VERSION_NUMBER(2, 0, 0)
/* tag::reference[]
*/ // end::reference[]
#endif
@@ -1,125 +0,0 @@
/*
Copyright Charly Chevalier 2015
Copyright Joel Falcou 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 ACTIV_BOOST_PREDEF_HARDWARE_SIMD_X86_H
#define ACTIV_BOOST_PREDEF_HARDWARE_SIMD_X86_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/hardware/simd/x86/versions.h>
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86`
The SIMD extension for x86 (*if detected*).
Version number depends on the most recent detected extension.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__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}
| `+__SSE3__+` | {predef_detection}
| `+__SSSE3__+` | {predef_detection}
| `+__SSE4_1__+` | {predef_detection}
| `+__SSE4_2__+` | {predef_detection}
| `+__AVX__+` | {predef_detection}
| `+__FMA__+` | {predef_detection}
| `+__AVX2__+` | {predef_detection}
|===
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__SSE__+` | ACTIV_BOOST_HW_SIMD_X86_SSE_VERSION
| `+_M_X64+` | ACTIV_BOOST_HW_SIMD_X86_SSE_VERSION
| `_M_IX86_FP >= 1` | ACTIV_BOOST_HW_SIMD_X86_SSE_VERSION
| `+__SSE2__+` | ACTIV_BOOST_HW_SIMD_X86_SSE2_VERSION
| `+_M_X64+` | ACTIV_BOOST_HW_SIMD_X86_SSE2_VERSION
| `_M_IX86_FP >= 2` | ACTIV_BOOST_HW_SIMD_X86_SSE2_VERSION
| `+__SSE3__+` | ACTIV_BOOST_HW_SIMD_X86_SSE3_VERSION
| `+__SSSE3__+` | ACTIV_BOOST_HW_SIMD_X86_SSSE3_VERSION
| `+__SSE4_1__+` | ACTIV_BOOST_HW_SIMD_X86_SSE4_1_VERSION
| `+__SSE4_2__+` | ACTIV_BOOST_HW_SIMD_X86_SSE4_2_VERSION
| `+__AVX__+` | ACTIV_BOOST_HW_SIMD_X86_AVX_VERSION
| `+__FMA__+` | ACTIV_BOOST_HW_SIMD_X86_FMA3_VERSION
| `+__AVX2__+` | ACTIV_BOOST_HW_SIMD_X86_AVX2_VERSION
|===
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86 ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#undef ACTIV_BOOST_HW_SIMD_X86
#if !defined(ACTIV_BOOST_HW_SIMD_X86) && defined(__MIC__)
# define ACTIV_BOOST_HW_SIMD_X86 ACTIV_BOOST_HW_SIMD_X86_MIC_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86) && defined(__AVX2__)
# define ACTIV_BOOST_HW_SIMD_X86 ACTIV_BOOST_HW_SIMD_X86_AVX2_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86) && defined(__AVX__)
# define ACTIV_BOOST_HW_SIMD_X86 ACTIV_BOOST_HW_SIMD_X86_AVX_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86) && defined(__FMA__)
# define ACTIV_BOOST_HW_SIMD_X86 ACTIV_BOOST_HW_SIMD_X86_FMA_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86) && defined(__SSE4_2__)
# define ACTIV_BOOST_HW_SIMD_X86 ACTIV_BOOST_HW_SIMD_X86_SSE4_2_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86) && defined(__SSE4_1__)
# define ACTIV_BOOST_HW_SIMD_X86 ACTIV_BOOST_HW_SIMD_X86_SSE4_1_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86) && defined(__SSSE3__)
# define ACTIV_BOOST_HW_SIMD_X86 ACTIV_BOOST_HW_SIMD_X86_SSSE3_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86) && defined(__SSE3__)
# define ACTIV_BOOST_HW_SIMD_X86 ACTIV_BOOST_HW_SIMD_X86_SSE3_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86) && (defined(__SSE2__) || defined(_M_X64) || (defined(_M_IX86_FP) && _M_IX86_FP >= 2))
# define ACTIV_BOOST_HW_SIMD_X86 ACTIV_BOOST_HW_SIMD_X86_SSE2_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86) && (defined(__SSE__) || defined(_M_X64) || (defined(_M_IX86_FP) && _M_IX86_FP >= 1))
# define ACTIV_BOOST_HW_SIMD_X86 ACTIV_BOOST_HW_SIMD_X86_SSE_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86) && defined(__MMX__)
# define ACTIV_BOOST_HW_SIMD_X86 ACTIV_BOOST_HW_SIMD_X86_MMX_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86)
# define ACTIV_BOOST_HW_SIMD_X86 ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#else
# define ACTIV_BOOST_HW_SIMD_X86_AVAILABLE
#endif
#define ACTIV_BOOST_HW_SIMD_X86_NAME "x86 SIMD"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_HW_SIMD_X86, ACTIV_BOOST_HW_SIMD_X86_NAME)
@@ -1,135 +0,0 @@
/*
Copyright Charly Chevalier 2015
Copyright Joel Falcou 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 ACTIV_BOOST_PREDEF_HARDWARE_SIMD_X86_VERSIONS_H
#define ACTIV_BOOST_PREDEF_HARDWARE_SIMD_X86_VERSIONS_H
#include <ActivBoost/predef/version_number.h>
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_*_VERSION`
Those defines represent x86 SIMD extensions versions.
NOTE: You *MUST* compare them with the predef `ACTIV_BOOST_HW_SIMD_X86`.
*/ // end::reference[]
// ---------------------------------
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_MMX_VERSION`
The https://en.wikipedia.org/wiki/MMX_(instruction_set)[MMX] x86 extension
version number.
Version number is: *0.99.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_MMX_VERSION ACTIV_BOOST_VERSION_NUMBER(0, 99, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_SSE_VERSION`
The https://en.wikipedia.org/wiki/Streaming_SIMD_Extensions[SSE] x86 extension
version number.
Version number is: *1.0.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_SSE_VERSION ACTIV_BOOST_VERSION_NUMBER(1, 0, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_SSE2_VERSION`
The https://en.wikipedia.org/wiki/SSE2[SSE2] x86 extension version number.
Version number is: *2.0.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_SSE2_VERSION ACTIV_BOOST_VERSION_NUMBER(2, 0, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_SSE3_VERSION`
The https://en.wikipedia.org/wiki/SSE3[SSE3] x86 extension version number.
Version number is: *3.0.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_SSE3_VERSION ACTIV_BOOST_VERSION_NUMBER(3, 0, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_SSSE3_VERSION`
The https://en.wikipedia.org/wiki/SSSE3[SSSE3] x86 extension version number.
Version number is: *3.1.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_SSSE3_VERSION ACTIV_BOOST_VERSION_NUMBER(3, 1, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_SSE4_1_VERSION`
The https://en.wikipedia.org/wiki/SSE4#SSE4.1[SSE4_1] x86 extension version
number.
Version number is: *4.1.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_SSE4_1_VERSION ACTIV_BOOST_VERSION_NUMBER(4, 1, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_SSE4_2_VERSION`
The https://en.wikipedia.org/wiki/SSE4##SSE4.2[SSE4_2] x86 extension version
number.
Version number is: *4.2.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_SSE4_2_VERSION ACTIV_BOOST_VERSION_NUMBER(4, 2, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_AVX_VERSION`
The https://en.wikipedia.org/wiki/Advanced_Vector_Extensions[AVX] x86
extension version number.
Version number is: *5.0.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_AVX_VERSION ACTIV_BOOST_VERSION_NUMBER(5, 0, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_FMA3_VERSION`
The https://en.wikipedia.org/wiki/FMA_instruction_set[FMA3] x86 extension
version number.
Version number is: *5.2.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_FMA3_VERSION ACTIV_BOOST_VERSION_NUMBER(5, 2, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_AVX2_VERSION`
The https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2[AVX2]
x86 extension version number.
Version number is: *5.3.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_AVX2_VERSION ACTIV_BOOST_VERSION_NUMBER(5, 3, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_MIC_VERSION`
The https://en.wikipedia.org/wiki/Xeon_Phi[MIC] (Xeon Phi) x86 extension
version number.
Version number is: *9.0.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_MIC_VERSION ACTIV_BOOST_VERSION_NUMBER(9, 0, 0)
/* tag::reference[]
*/ // end::reference[]
#endif
@@ -1,89 +0,0 @@
/*
Copyright Charly Chevalier 2015
Copyright Joel Falcou 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 ACTIV_BOOST_PREDEF_HARDWARE_SIMD_X86_AMD_H
#define ACTIV_BOOST_PREDEF_HARDWARE_SIMD_X86_AMD_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/hardware/simd/x86_amd/versions.h>
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_AMD`
The SIMD extension for x86 (AMD) (*if detected*).
Version number depends on the most recent detected extension.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__SSE4A__+` | {predef_detection}
| `+__FMA4__+` | {predef_detection}
| `+__XOP__+` | {predef_detection}
| `ACTIV_BOOST_HW_SIMD_X86` | {predef_detection}
|===
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__SSE4A__+` | ACTIV_BOOST_HW_SIMD_X86_SSE4A_VERSION
| `+__FMA4__+` | ACTIV_BOOST_HW_SIMD_X86_FMA4_VERSION
| `+__XOP__+` | ACTIV_BOOST_HW_SIMD_X86_XOP_VERSION
| `ACTIV_BOOST_HW_SIMD_X86` | ACTIV_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 `ACTIV_BOOST_HW_SIMD_X86` to test if those specific extensions have
been detected.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_AMD ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
// AMD CPUs also use x86 architecture. We first try to detect if any AMD
// specific extension are detected, if yes, then try to detect more recent x86
// common extensions.
#undef ACTIV_BOOST_HW_SIMD_X86_AMD
#if !defined(ACTIV_BOOST_HW_SIMD_X86_AMD) && defined(__XOP__)
# define ACTIV_BOOST_HW_SIMD_X86_AMD ACTIV_BOOST_HW_SIMD_X86_AMD_XOP_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86_AMD) && defined(__FMA4__)
# define ACTIV_BOOST_HW_SIMD_X86_AMD ACTIV_BOOST_HW_SIMD_X86_AMD_FMA4_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86_AMD) && defined(__SSE4A__)
# define ACTIV_BOOST_HW_SIMD_X86_AMD ACTIV_BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION
#endif
#if !defined(ACTIV_BOOST_HW_SIMD_X86_AMD)
# define ACTIV_BOOST_HW_SIMD_X86_AMD ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#else
// At this point, we know that we have an AMD CPU, we do need to check for
// other x86 extensions to determine the final version number.
# include <ActivBoost/predef/hardware/simd/x86.h>
# if ACTIV_BOOST_HW_SIMD_X86 > ACTIV_BOOST_HW_SIMD_X86_AMD
# undef ACTIV_BOOST_HW_SIMD_X86_AMD
# define ACTIV_BOOST_HW_SIMD_X86_AMD ACTIV_BOOST_HW_SIMD_X86
# endif
# define ACTIV_BOOST_HW_SIMD_X86_AMD_AVAILABLE
#endif
#define ACTIV_BOOST_HW_SIMD_X86_AMD_NAME "x86 (AMD) SIMD"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_HW_SIMD_X86_AMD, ACTIV_BOOST_HW_SIMD_X86_AMD_NAME)
@@ -1,56 +0,0 @@
/*
Copyright Charly Chevalier 2015
Copyright Joel Falcou 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 ACTIV_BOOST_PREDEF_HARDWARE_SIMD_X86_AMD_VERSIONS_H
#define ACTIV_BOOST_PREDEF_HARDWARE_SIMD_X86_AMD_VERSIONS_H
#include <ActivBoost/predef/version_number.h>
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_AMD_*_VERSION`
Those defines represent x86 (AMD specific) SIMD extensions versions.
NOTE: You *MUST* compare them with the predef `ACTIV_BOOST_HW_SIMD_X86_AMD`.
*/ // end::reference[]
// ---------------------------------
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION`
https://en.wikipedia.org/wiki/SSE4##SSE4A[SSE4A] x86 extension (AMD specific).
Version number is: *4.0.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION ACTIV_BOOST_VERSION_NUMBER(4, 0, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_AMD_FMA4_VERSION`
https://en.wikipedia.org/wiki/FMA_instruction_set#FMA4_instruction_set[FMA4] x86 extension (AMD specific).
Version number is: *5.1.0*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_AMD_FMA4_VERSION ACTIV_BOOST_VERSION_NUMBER(5, 1, 0)
/* tag::reference[]
= `ACTIV_BOOST_HW_SIMD_X86_AMD_XOP_VERSION`
https://en.wikipedia.org/wiki/XOP_instruction_set[XOP] x86 extension (AMD specific).
Version number is: *5.1.1*.
*/ // end::reference[]
#define ACTIV_BOOST_HW_SIMD_X86_AMD_XOP_VERSION ACTIV_BOOST_VERSION_NUMBER(5, 1, 1)
/* tag::reference[]
*/ // end::reference[]
#endif
@@ -1,18 +0,0 @@
/*
Copyright Rene Rivera 2011-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)
*/
#if !defined(ACTIV_BOOST_PREDEF_LANGUAGE_H) || defined(ACTIV_BOOST_PREDEF_INTERNAL_GENERATE_TESTS)
#ifndef ACTIV_BOOST_PREDEF_LANGUAGE_H
#define ACTIV_BOOST_PREDEF_LANGUAGE_H
#endif
#include <ActivBoost/predef/language/stdc.h>
#include <ActivBoost/predef/language/stdcpp.h>
#include <ActivBoost/predef/language/objc.h>
#include <ActivBoost/predef/language/cuda.h>
#endif
@@ -1,53 +0,0 @@
/*
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 ACTIV_BOOST_PREDEF_LANGUAGE_CUDA_H
#define ACTIV_BOOST_PREDEF_LANGUAGE_CUDA_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_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 ACTIV_BOOST_LANG_CUDA ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__CUDACC__) || defined(__CUDA__)
# undef ACTIV_BOOST_LANG_CUDA
# include <cuda.h>
# if defined(CUDA_VERSION)
# define ACTIV_BOOST_LANG_CUDA ACTIV_BOOST_PREDEF_MAKE_10_VVRRP(CUDA_VERSION)
# else
# define ACTIV_BOOST_LANG_CUDA ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_LANG_CUDA
# define ACTIV_BOOST_LANG_CUDA_AVAILABLE
#endif
#define ACTIV_BOOST_LANG_CUDA_NAME "CUDA C/C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LANG_CUDA,ACTIV_BOOST_LANG_CUDA_NAME)
@@ -1,43 +0,0 @@
/*
Copyright Rene Rivera 2011-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 ACTIV_BOOST_PREDEF_LANGUAGE_OBJC_H
#define ACTIV_BOOST_PREDEF_LANGUAGE_OBJC_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LANG_OBJC`
http://en.wikipedia.org/wiki/Objective-C[Objective-C] language.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__OBJC__+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_LANG_OBJC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__OBJC__)
# undef ACTIV_BOOST_LANG_OBJC
# define ACTIV_BOOST_LANG_OBJC ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_LANG_OBJC
# define ACTIV_BOOST_LANG_OBJC_AVAILABLE
#endif
#define ACTIV_BOOST_LANG_OBJC_NAME "Objective-C"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LANG_OBJC,ACTIV_BOOST_LANG_OBJC_NAME)
@@ -1,54 +0,0 @@
/*
Copyright Rene Rivera 2011-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 ACTIV_BOOST_PREDEF_LANGUAGE_STDC_H
#define ACTIV_BOOST_PREDEF_LANGUAGE_STDC_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_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 Epoch date.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__STDC__+` | {predef_detection}
| `+__STDC_VERSION__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_LANG_STDC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__STDC__)
# undef ACTIV_BOOST_LANG_STDC
# if defined(__STDC_VERSION__)
# if (__STDC_VERSION__ > 100)
# define ACTIV_BOOST_LANG_STDC ACTIV_BOOST_PREDEF_MAKE_YYYYMM(__STDC_VERSION__)
# else
# define ACTIV_BOOST_LANG_STDC ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
# else
# define ACTIV_BOOST_LANG_STDC ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_LANG_STDC
# define ACTIV_BOOST_LANG_STDC_AVAILABLE
#endif
#define ACTIV_BOOST_LANG_STDC_NAME "Standard C"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LANG_STDC,ACTIV_BOOST_LANG_STDC_NAME)
@@ -1,128 +0,0 @@
/*
Copyright Rene Rivera 2011-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 ACTIV_BOOST_PREDEF_LANGUAGE_STDCPP_H
#define ACTIV_BOOST_PREDEF_LANGUAGE_STDCPP_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LANG_STDCPP`
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:
.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
|===
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__cplusplus+` | {predef_detection}
| `+__cplusplus+` | YYYY.MM.1
|===
*/ // end::reference[]
#define ACTIV_BOOST_LANG_STDCPP ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__cplusplus)
# undef ACTIV_BOOST_LANG_STDCPP
# if (__cplusplus > 100)
# define ACTIV_BOOST_LANG_STDCPP ACTIV_BOOST_PREDEF_MAKE_YYYYMM(__cplusplus)
# else
# define ACTIV_BOOST_LANG_STDCPP ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_LANG_STDCPP
# define ACTIV_BOOST_LANG_STDCPP_AVAILABLE
#endif
#define ACTIV_BOOST_LANG_STDCPP_NAME "Standard C++"
/* tag::reference[]
= `ACTIV_BOOST_LANG_STDCPPCLI`
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.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__cplusplus_cli+` | {predef_detection}
| `+__cplusplus_cli+` | YYYY.MM.1
|===
*/ // end::reference[]
#define ACTIV_BOOST_LANG_STDCPPCLI ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__cplusplus_cli)
# undef ACTIV_BOOST_LANG_STDCPPCLI
# if (__cplusplus_cli > 100)
# define ACTIV_BOOST_LANG_STDCPPCLI ACTIV_BOOST_PREDEF_MAKE_YYYYMM(__cplusplus_cli)
# else
# define ACTIV_BOOST_LANG_STDCPPCLI ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_LANG_STDCPPCLI
# define ACTIV_BOOST_LANG_STDCPPCLI_AVAILABLE
#endif
#define ACTIV_BOOST_LANG_STDCPPCLI_NAME "Standard C++/CLI"
/* tag::reference[]
= `ACTIV_BOOST_LANG_STDECPP`
http://en.wikipedia.org/wiki/Embedded_C%2B%2B[Standard Embedded {CPP}] language.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__embedded_cplusplus+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_LANG_STDECPP ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__embedded_cplusplus)
# undef ACTIV_BOOST_LANG_STDECPP
# define ACTIV_BOOST_LANG_STDECPP ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_LANG_STDECPP
# define ACTIV_BOOST_LANG_STDECPP_AVAILABLE
#endif
#define ACTIV_BOOST_LANG_STDECPP_NAME "Standard Embedded C++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LANG_STDCPP,ACTIV_BOOST_LANG_STDCPP_NAME)
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LANG_STDCPPCLI,ACTIV_BOOST_LANG_STDCPPCLI_NAME)
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LANG_STDECPP,ACTIV_BOOST_LANG_STDECPP_NAME)
-16
View File
@@ -1,16 +0,0 @@
/*
Copyright Rene Rivera 2008-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)
*/
#if !defined(ACTIV_BOOST_PREDEF_LIBRARY_H) || defined(ACTIV_BOOST_PREDEF_INTERNAL_GENERATE_TESTS)
#ifndef ACTIV_BOOST_PREDEF_LIBRARY_H
#define ACTIV_BOOST_PREDEF_LIBRARY_H
#endif
#include <ActivBoost/predef/library/c.h>
#include <ActivBoost/predef/library/std.h>
#endif
@@ -1,21 +0,0 @@
/*
Copyright Rene Rivera 2008-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)
*/
#if !defined(ACTIV_BOOST_PREDEF_LIBRARY_C_H) || defined(ACTIV_BOOST_PREDEF_INTERNAL_GENERATE_TESTS)
#ifndef ACTIV_BOOST_PREDEF_LIBRARY_C_H
#define ACTIV_BOOST_PREDEF_LIBRARY_C_H
#endif
#include <ActivBoost/predef/library/c/_prefix.h>
#include <ActivBoost/predef/library/c/cloudabi.h>
#include <ActivBoost/predef/library/c/gnu.h>
#include <ActivBoost/predef/library/c/uc.h>
#include <ActivBoost/predef/library/c/vms.h>
#include <ActivBoost/predef/library/c/zos.h>
#endif
@@ -1,13 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_C__PREFIX_H
#define ACTIV_BOOST_PREDEF_LIBRARY_C__PREFIX_H
#include <ActivBoost/predef/detail/_cassert.h>
#endif
@@ -1,54 +0,0 @@
/*
* Copyright (C) 2017 James E. King III
*
* 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 ACTIV_BOOST_PREDEF_LIBRARY_C_CLOUDABI_H
#define ACTIV_BOOST_PREDEF_LIBRARY_C_CLOUDABI_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
#include <ActivBoost/predef/library/c/_prefix.h>
#if defined(__CloudABI__)
#include <stddef.h>
#endif
/* tag::reference[]
= `ACTIV_BOOST_LIB_C_CLOUDABI`
https://github.com/NuxiNL/cloudlibc[cloudlibc] - CloudABI's standard C library.
Version number available as major, and minor.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__cloudlibc__+` | {predef_detection}
| `+__cloudlibc_major__+`, `+__cloudlibc_minor__+` | V.R.0
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_C_CLOUDABI ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__cloudlibc__)
# undef ACTIV_BOOST_LIB_C_CLOUDABI
# define ACTIV_BOOST_LIB_C_CLOUDABI \
ACTIV_BOOST_VERSION_NUMBER(__cloudlibc_major__,__cloudlibc_minor__,0)
#endif
#if ACTIV_BOOST_LIB_C_CLOUDABI
# define ACTIV_BOOST_LIB_C_CLOUDABI_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_C_CLOUDABI_NAME "cloudlibc"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_C_CLOUDABI,ACTIV_BOOST_LIB_C_CLOUDABI_NAME)
@@ -1,62 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_C_GNU_H
#define ACTIV_BOOST_PREDEF_LIBRARY_C_GNU_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
#include <ActivBoost/predef/library/c/_prefix.h>
#if defined(__STDC__)
#include <stddef.h>
#elif defined(__cplusplus)
#include <cstddef>
#endif
/* tag::reference[]
= `ACTIV_BOOST_LIB_C_GNU`
http://en.wikipedia.org/wiki/Glibc[GNU glibc] Standard C library.
Version number available as major, and minor.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__GLIBC__+` | {predef_detection}
| `+__GNU_LIBRARY__+` | {predef_detection}
| `+__GLIBC__+`, `+__GLIBC_MINOR__+` | V.R.0
| `+__GNU_LIBRARY__+`, `+__GNU_LIBRARY_MINOR__+` | V.R.0
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_C_GNU ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__GLIBC__) || defined(__GNU_LIBRARY__)
# undef ACTIV_BOOST_LIB_C_GNU
# if defined(__GLIBC__)
# define ACTIV_BOOST_LIB_C_GNU \
ACTIV_BOOST_VERSION_NUMBER(__GLIBC__,__GLIBC_MINOR__,0)
# else
# define ACTIV_BOOST_LIB_C_GNU \
ACTIV_BOOST_VERSION_NUMBER(__GNU_LIBRARY__,__GNU_LIBRARY_MINOR__,0)
# endif
#endif
#if ACTIV_BOOST_LIB_C_GNU
# define ACTIV_BOOST_LIB_C_GNU_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_C_GNU_NAME "GNU"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_C_GNU,ACTIV_BOOST_LIB_C_GNU_NAME)
@@ -1,48 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_C_UC_H
#define ACTIV_BOOST_PREDEF_LIBRARY_C_UC_H
#include <ActivBoost/predef/library/c/_prefix.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LIB_C_UC`
http://en.wikipedia.org/wiki/Uclibc[uClibc] Standard C library.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__UCLIBC__+` | {predef_detection}
| `+__UCLIBC_MAJOR__+`, `+__UCLIBC_MINOR__+`, `+__UCLIBC_SUBLEVEL__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_C_UC ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__UCLIBC__)
# undef ACTIV_BOOST_LIB_C_UC
# define ACTIV_BOOST_LIB_C_UC ACTIV_BOOST_VERSION_NUMBER(\
__UCLIBC_MAJOR__,__UCLIBC_MINOR__,__UCLIBC_SUBLEVEL__)
#endif
#if ACTIV_BOOST_LIB_C_UC
# define ACTIV_BOOST_LIB_C_UC_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_C_UC_NAME "uClibc"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_C_UC,ACTIV_BOOST_LIB_C_UC_NAME)
@@ -1,48 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_C_VMS_H
#define ACTIV_BOOST_PREDEF_LIBRARY_C_VMS_H
#include <ActivBoost/predef/library/c/_prefix.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LIB_C_VMS`
VMS libc Standard C library.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__CRTL_VER+` | {predef_detection}
| `+__CRTL_VER+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_C_VMS ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__CRTL_VER)
# undef ACTIV_BOOST_LIB_C_VMS
# define ACTIV_BOOST_LIB_C_VMS ACTIV_BOOST_PREDEF_MAKE_10_VVRR0PP00(__CRTL_VER)
#endif
#if ACTIV_BOOST_LIB_C_VMS
# define ACTIV_BOOST_LIB_C_VMS_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_C_VMS_NAME "VMS"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_C_VMS,ACTIV_BOOST_LIB_C_VMS_NAME)
@@ -1,57 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_C_ZOS_H
#define ACTIV_BOOST_PREDEF_LIBRARY_C_ZOS_H
#include <ActivBoost/predef/library/c/_prefix.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LIB_C_ZOS`
z/OS libc Standard C library.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__LIBREL__+` | {predef_detection}
| `+__LIBREL__+` | V.R.P
| `+__TARGET_LIB__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_C_ZOS ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__LIBREL__)
# undef ACTIV_BOOST_LIB_C_ZOS
# if !defined(ACTIV_BOOST_LIB_C_ZOS) && defined(__LIBREL__)
# define ACTIV_BOOST_LIB_C_ZOS ACTIV_BOOST_PREDEF_MAKE_0X_VRRPPPP(__LIBREL__)
# endif
# if !defined(ACTIV_BOOST_LIB_C_ZOS) && defined(__TARGET_LIB__)
# define ACTIV_BOOST_LIB_C_ZOS ACTIV_BOOST_PREDEF_MAKE_0X_VRRPPPP(__TARGET_LIB__)
# endif
# if !defined(ACTIV_BOOST_LIB_C_ZOS)
# define ACTIV_BOOST_LIB_C_ZOS ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_LIB_C_ZOS
# define ACTIV_BOOST_LIB_C_ZOS_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_C_ZOS_NAME "z/OS"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_C_ZOS,ACTIV_BOOST_LIB_C_ZOS_NAME)
@@ -1,25 +0,0 @@
/*
Copyright Rene Rivera 2008-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)
*/
#if !defined(ACTIV_BOOST_PREDEF_LIBRARY_STD_H) || defined(ACTIV_BOOST_PREDEF_INTERNAL_GENERATE_TESTS)
#ifndef ACTIV_BOOST_PREDEF_LIBRARY_STD_H
#define ACTIV_BOOST_PREDEF_LIBRARY_STD_H
#endif
#include <ActivBoost/predef/library/std/_prefix.h>
#include <ActivBoost/predef/library/std/cxx.h>
#include <ActivBoost/predef/library/std/dinkumware.h>
#include <ActivBoost/predef/library/std/libcomo.h>
#include <ActivBoost/predef/library/std/modena.h>
#include <ActivBoost/predef/library/std/msl.h>
#include <ActivBoost/predef/library/std/roguewave.h>
#include <ActivBoost/predef/library/std/sgi.h>
#include <ActivBoost/predef/library/std/stdcpp3.h>
#include <ActivBoost/predef/library/std/stlport.h>
#include <ActivBoost/predef/library/std/vacpp.h>
#endif
@@ -1,23 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_STD__PREFIX_H
#define ACTIV_BOOST_PREDEF_LIBRARY_STD__PREFIX_H
/*
We need to include an STD header to gives us the context
of which library we are using. The "smallest" code-wise header
seems to be <exception>. Boost uses <utility> but as far
as I can tell (RR) it's not a stand-alone header in most
implementations. Using <exception> also has the benefit of
being available in EC++, so we get a chance to make this work
for embedded users. And since it's not a header impacted by TR1
there's no magic needed for inclusion in the face of the
Boost.TR1 library.
*/
#include <ActivBoost/predef/detail/_exception.h>
#endif
@@ -1,47 +0,0 @@
/*
Copyright Rene Rivera 2011-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 ACTIV_BOOST_PREDEF_LIBRARY_STD_CXX_H
#define ACTIV_BOOST_PREDEF_LIBRARY_STD_CXX_H
#include <ActivBoost/predef/library/std/_prefix.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LIB_STD_CXX`
http://libcxx.llvm.org/[libc++] {CPP} Standard Library.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+_LIBCPP_VERSION+` | {predef_detection}
| `+_LIBCPP_VERSION+` | V.0.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_STD_CXX ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(_LIBCPP_VERSION)
# undef ACTIV_BOOST_LIB_STD_CXX
# define ACTIV_BOOST_LIB_STD_CXX ACTIV_BOOST_PREDEF_MAKE_10_VVPPP(_LIBCPP_VERSION)
#endif
#if ACTIV_BOOST_LIB_STD_CXX
# define ACTIV_BOOST_LIB_STD_CXX_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_STD_CXX_NAME "libc++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_STD_CXX,ACTIV_BOOST_LIB_STD_CXX_NAME)
@@ -1,53 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_STD_DINKUMWARE_H
#define ACTIV_BOOST_PREDEF_LIBRARY_STD_DINKUMWARE_H
#include <ActivBoost/predef/library/std/_prefix.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LIB_STD_DINKUMWARE`
http://en.wikipedia.org/wiki/Dinkumware[Dinkumware] Standard {CPP} Library.
If available version number as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+_YVALS+`, `+__IBMCPP__+` | {predef_detection}
| `+_CPPLIB_VER+` | {predef_detection}
| `+_CPPLIB_VER+` | V.R.0
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_STD_DINKUMWARE ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
# undef ACTIV_BOOST_LIB_STD_DINKUMWARE
# if defined(_CPPLIB_VER)
# define ACTIV_BOOST_LIB_STD_DINKUMWARE ACTIV_BOOST_PREDEF_MAKE_10_VVRR(_CPPLIB_VER)
# else
# define ACTIV_BOOST_LIB_STD_DINKUMWARE ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_LIB_STD_DINKUMWARE
# define ACTIV_BOOST_LIB_STD_DINKUMWARE_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_STD_DINKUMWARE_NAME "Dinkumware"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_STD_DINKUMWARE,ACTIV_BOOST_LIB_STD_DINKUMWARE_NAME)
@@ -1,48 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_STD_LIBCOMO_H
#define ACTIV_BOOST_PREDEF_LIBRARY_STD_LIBCOMO_H
#include <ActivBoost/predef/library/std/_prefix.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LIB_STD_COMO`
http://www.comeaucomputing.com/libcomo/[Comeau Computing] Standard {CPP} Library.
Version number available as major.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__LIBCOMO__+` | {predef_detection}
| `+__LIBCOMO_VERSION__+` | V.0.0
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_STD_COMO ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__LIBCOMO__)
# undef ACTIV_BOOST_LIB_STD_COMO
# define ACTIV_BOOST_LIB_STD_COMO ACTIV_BOOST_VERSION_NUMBER(__LIBCOMO_VERSION__,0,0)
#endif
#if ACTIV_BOOST_LIB_STD_COMO
# define ACTIV_BOOST_LIB_STD_COMO_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_STD_COMO_NAME "Comeau Computing"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_STD_COMO,ACTIV_BOOST_LIB_STD_COMO_NAME)
@@ -1,46 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_STD_MODENA_H
#define ACTIV_BOOST_PREDEF_LIBRARY_STD_MODENA_H
#include <ActivBoost/predef/library/std/_prefix.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LIB_STD_MSIPL`
http://modena.us/[Modena Software Lib++] Standard {CPP} Library.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `MSIPL_COMPILE_H` | {predef_detection}
| `+__MSIPL_COMPILE_H+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_STD_MSIPL ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(MSIPL_COMPILE_H) || defined(__MSIPL_COMPILE_H)
# undef ACTIV_BOOST_LIB_STD_MSIPL
# define ACTIV_BOOST_LIB_STD_MSIPL ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_LIB_STD_MSIPL
# define ACTIV_BOOST_LIB_STD_MSIPL_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_STD_MSIPL_NAME "Modena Software Lib++"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_STD_MSIPL,ACTIV_BOOST_LIB_STD_MSIPL_NAME)
@@ -1,54 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_STD_MSL_H
#define ACTIV_BOOST_PREDEF_LIBRARY_STD_MSL_H
#include <ActivBoost/predef/library/std/_prefix.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LIB_STD_MSL`
http://www.freescale.com/[Metrowerks] Standard {CPP} Library.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__MSL_CPP__+` | {predef_detection}
| `+__MSL__+` | {predef_detection}
| `+__MSL_CPP__+` | V.R.P
| `+__MSL__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_STD_MSL ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__MSL_CPP__) || defined(__MSL__)
# undef ACTIV_BOOST_LIB_STD_MSL
# if defined(__MSL_CPP__)
# define ACTIV_BOOST_LIB_STD_MSL ACTIV_BOOST_PREDEF_MAKE_0X_VRPP(__MSL_CPP__)
# else
# define ACTIV_BOOST_LIB_STD_MSL ACTIV_BOOST_PREDEF_MAKE_0X_VRPP(__MSL__)
# endif
#endif
#if ACTIV_BOOST_LIB_STD_MSL
# define ACTIV_BOOST_LIB_STD_MSL_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_STD_MSL_NAME "Metrowerks"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_STD_MSL,ACTIV_BOOST_LIB_STD_MSL_NAME)
@@ -1,57 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_STD_ROGUEWAVE_H
#define ACTIV_BOOST_PREDEF_LIBRARY_STD_ROGUEWAVE_H
#include <ActivBoost/predef/library/std/_prefix.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LIB_STD_RW`
http://stdcxx.apache.org/[Roguewave] Standard {CPP} library.
If available version number as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__STD_RWCOMPILER_H__+` | {predef_detection}
| `+_RWSTD_VER+` | {predef_detection}
| `+_RWSTD_VER+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_STD_RW ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
# undef ACTIV_BOOST_LIB_STD_RW
# if defined(_RWSTD_VER)
# if _RWSTD_VER < 0x010000
# define ACTIV_BOOST_LIB_STD_RW ACTIV_BOOST_PREDEF_MAKE_0X_VVRRP(_RWSTD_VER)
# else
# define ACTIV_BOOST_LIB_STD_RW ACTIV_BOOST_PREDEF_MAKE_0X_VVRRPP(_RWSTD_VER)
# endif
# else
# define ACTIV_BOOST_LIB_STD_RW ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_LIB_STD_RW
# define ACTIV_BOOST_LIB_STD_RW_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_STD_RW_NAME "Roguewave"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_STD_RW,ACTIV_BOOST_LIB_STD_RW_NAME)
@@ -1,52 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_STD_SGI_H
#define ACTIV_BOOST_PREDEF_LIBRARY_STD_SGI_H
#include <ActivBoost/predef/library/std/_prefix.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LIB_STD_SGI`
http://www.sgi.com/tech/stl/[SGI] Standard {CPP} library.
If available version number as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__STL_CONFIG_H+` | {predef_detection}
| `+__SGI_STL+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_STD_SGI ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__STL_CONFIG_H)
# undef ACTIV_BOOST_LIB_STD_SGI
# if defined(__SGI_STL)
# define ACTIV_BOOST_LIB_STD_SGI ACTIV_BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL)
# else
# define ACTIV_BOOST_LIB_STD_SGI ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_LIB_STD_SGI
# define ACTIV_BOOST_LIB_STD_SGI_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_STD_SGI_NAME "SGI"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_STD_SGI,ACTIV_BOOST_LIB_STD_SGI_NAME)
@@ -1,54 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_STD_STDCPP3_H
#define ACTIV_BOOST_PREDEF_LIBRARY_STD_STDCPP3_H
#include <ActivBoost/predef/library/std/_prefix.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LIB_STD_GNU`
https://gcc.gnu.org/onlinedocs/libstdc%2b%2b/[GNU libstdc++] Standard {CPP} library.
Version number available as year (from 1970), month, and day.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__GLIBCXX__+` | {predef_detection}
| `+__GLIBCPP__+` | {predef_detection}
| `+__GLIBCXX__+` | V.R.P
| `+__GLIBCPP__+` | V.R.P
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_STD_GNU ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__GLIBCPP__) || defined(__GLIBCXX__)
# undef ACTIV_BOOST_LIB_STD_GNU
# if defined(__GLIBCXX__)
# define ACTIV_BOOST_LIB_STD_GNU ACTIV_BOOST_PREDEF_MAKE_YYYYMMDD(__GLIBCXX__)
# else
# define ACTIV_BOOST_LIB_STD_GNU ACTIV_BOOST_PREDEF_MAKE_YYYYMMDD(__GLIBCPP__)
# endif
#endif
#if ACTIV_BOOST_LIB_STD_GNU
# define ACTIV_BOOST_LIB_STD_GNU_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_STD_GNU_NAME "GNU"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_STD_GNU,ACTIV_BOOST_LIB_STD_GNU_NAME)
@@ -1,60 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_STD_STLPORT_H
#define ACTIV_BOOST_PREDEF_LIBRARY_STD_STLPORT_H
#include <ActivBoost/predef/library/std/_prefix.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LIB_STD_STLPORT`
http://sourceforge.net/projects/stlport/[STLport Standard {CPP}] library.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__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
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_STD_STLPORT ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
# undef ACTIV_BOOST_LIB_STD_STLPORT
# if !defined(ACTIV_BOOST_LIB_STD_STLPORT) && defined(_STLPORT_MAJOR)
# define ACTIV_BOOST_LIB_STD_STLPORT \
ACTIV_BOOST_VERSION_NUMBER(_STLPORT_MAJOR,_STLPORT_MINOR,_STLPORT_PATCHLEVEL)
# endif
# if !defined(ACTIV_BOOST_LIB_STD_STLPORT) && defined(_STLPORT_VERSION)
# define ACTIV_BOOST_LIB_STD_STLPORT ACTIV_BOOST_PREDEF_MAKE_0X_VRP(_STLPORT_VERSION)
# endif
# if !defined(ACTIV_BOOST_LIB_STD_STLPORT)
# define ACTIV_BOOST_LIB_STD_STLPORT ACTIV_BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL_PORT)
# endif
#endif
#if ACTIV_BOOST_LIB_STD_STLPORT
# define ACTIV_BOOST_LIB_STD_STLPORT_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_STD_STLPORT_NAME "STLport"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_STD_STLPORT,ACTIV_BOOST_LIB_STD_STLPORT_NAME)
@@ -1,45 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_LIBRARY_STD_VACPP_H
#define ACTIV_BOOST_PREDEF_LIBRARY_STD_VACPP_H
#include <ActivBoost/predef/library/std/_prefix.h>
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_LIB_STD_IBM`
http://www.ibm.com/software/awdtools/xlcpp/[IBM VACPP Standard {CPP}] library.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+__IBMCPP__+` | {predef_detection}
|===
*/ // end::reference[]
#define ACTIV_BOOST_LIB_STD_IBM ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if defined(__IBMCPP__)
# undef ACTIV_BOOST_LIB_STD_IBM
# define ACTIV_BOOST_LIB_STD_IBM ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
#endif
#if ACTIV_BOOST_LIB_STD_IBM
# define ACTIV_BOOST_LIB_STD_IBM_AVAILABLE
#endif
#define ACTIV_BOOST_LIB_STD_IBM_NAME "IBM VACPP"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_LIB_STD_IBM,ACTIV_BOOST_LIB_STD_IBM_NAME)
-163
View File
@@ -1,163 +0,0 @@
/*
Copyright Rene Rivera 2008-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)
*/
#include <ActivBoost/predef/detail/test.h>
#ifndef ACTIV_BOOST_PREDEF_MAKE_H
#define ACTIV_BOOST_PREDEF_MAKE_H
/*
Shorthands for the common version number formats used by vendors...
*/
/* tag::reference[]
= `ACTIV_BOOST_PREDEF_MAKE_..` macros
These set of macros decompose common vendor version number
macros which are composed version, revision, and patch digits.
The naming convention indicates:
* The base of the specified version number. "`ACTIV_BOOST_PREDEF_MAKE_0X`" for
hexadecimal digits, and "`ACTIV_BOOST_PREDEF_MAKE_10`" for decimal digits.
* The format of the vendor version number. Where "`V`" indicates the version digits,
"`R`" indicates the revision digits, "`P`" indicates the patch digits, and "`0`"
indicates an ignored digit.
Macros are:
*/ // end::reference[]
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_0X_VRP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_0X_VRP(V) ACTIV_BOOST_VERSION_NUMBER((V&0xF00)>>8,(V&0xF0)>>4,(V&0xF))
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_0X_VVRP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_0X_VVRP(V) ACTIV_BOOST_VERSION_NUMBER((V&0xFF00)>>8,(V&0xF0)>>4,(V&0xF))
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_0X_VRPP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_0X_VRPP(V) ACTIV_BOOST_VERSION_NUMBER((V&0xF000)>>12,(V&0xF00)>>8,(V&0xFF))
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_0X_VVRR(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_0X_VVRR(V) ACTIV_BOOST_VERSION_NUMBER((V&0xFF00)>>8,(V&0xFF),0)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_0X_VRRPPPP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_0X_VRRPPPP(V) ACTIV_BOOST_VERSION_NUMBER((V&0xF000000)>>24,(V&0xFF0000)>>16,(V&0xFFFF))
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_0X_VVRRP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_0X_VVRRP(V) ACTIV_BOOST_VERSION_NUMBER((V&0xFF000)>>12,(V&0xFF0)>>4,(V&0xF))
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_0X_VRRPP000(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_0X_VRRPP000(V) ACTIV_BOOST_VERSION_NUMBER((V&0xF0000000)>>28,(V&0xFF00000)>>20,(V&0xFF000)>>12)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_0X_VVRRPP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_0X_VVRRPP(V) ACTIV_BOOST_VERSION_NUMBER((V&0xFF0000)>>16,(V&0xFF00)>>8,(V&0xFF))
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VPPP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VPPP(V) ACTIV_BOOST_VERSION_NUMBER(((V)/1000)%10,0,(V)%1000)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VVPPP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VVPPP(V) ACTIV_BOOST_VERSION_NUMBER(((V)/1000)%100,0,(V)%1000)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VR0(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VR0(V) ACTIV_BOOST_VERSION_NUMBER(((V)/100)%10,((V)/10)%10,0)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VRP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VRP(V) ACTIV_BOOST_VERSION_NUMBER(((V)/100)%10,((V)/10)%10,(V)%10)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VRP000(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VRP000(V) ACTIV_BOOST_VERSION_NUMBER(((V)/100000)%10,((V)/10000)%10,((V)/1000)%10)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VRPPPP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VRPPPP(V) ACTIV_BOOST_VERSION_NUMBER(((V)/100000)%10,((V)/10000)%10,(V)%10000)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VRPP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VRPP(V) ACTIV_BOOST_VERSION_NUMBER(((V)/1000)%10,((V)/100)%10,(V)%100)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VRR(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VRR(V) ACTIV_BOOST_VERSION_NUMBER(((V)/100)%10,(V)%100,0)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VRRPP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VRRPP(V) ACTIV_BOOST_VERSION_NUMBER(((V)/10000)%10,((V)/100)%100,(V)%100)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VRR000(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VRR000(V) ACTIV_BOOST_VERSION_NUMBER(((V)/100000)%10,((V)/1000)%100,0)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VV00(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VV00(V) ACTIV_BOOST_VERSION_NUMBER(((V)/100)%100,0,0)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VVRR(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VVRR(V) ACTIV_BOOST_VERSION_NUMBER(((V)/100)%100,(V)%100,0)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VVRRP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VVRRP(V) ACTIV_BOOST_VERSION_NUMBER(((V)/1000)%100,((V)/10)%100,(V)%10)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VVRRPP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VVRRPP(V) ACTIV_BOOST_VERSION_NUMBER(((V)/10000)%100,((V)/100)%100,(V)%100)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VVRRPPP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VVRRPPP(V) ACTIV_BOOST_VERSION_NUMBER(((V)/100000)%100,((V)/1000)%100,(V)%1000)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VVRR0PP00(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VVRR0PP00(V) ACTIV_BOOST_VERSION_NUMBER(((V)/10000000)%100,((V)/100000)%100,((V)/100)%100)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VVRR0PPPP(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VVRR0PPPP(V) ACTIV_BOOST_VERSION_NUMBER(((V)/10000000)%100,((V)/100000)%100,(V)%10000)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_10_VVRR00PP00(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_10_VVRR00PP00(V) ACTIV_BOOST_VERSION_NUMBER(((V)/100000000)%100,((V)/1000000)%100,((V)/100)%100)
/* tag::reference[]
= `ACTIV_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.
*/ // end::reference[]
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_DATE(Y,M,D)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_DATE(Y,M,D) ACTIV_BOOST_VERSION_NUMBER((Y)%10000-1970,(M)%100,(D)%100)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_YYYYMMDD(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_YYYYMMDD(V) ACTIV_BOOST_PREDEF_MAKE_DATE(((V)/10000)%10000,((V)/100)%100,(V)%100)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_YYYY(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_YYYY(V) ACTIV_BOOST_PREDEF_MAKE_DATE(V,1,1)
/* tag::reference[]
* `ACTIV_BOOST_PREDEF_MAKE_YYYYMM(V)`
*/ // end::reference[]
#define ACTIV_BOOST_PREDEF_MAKE_YYYYMM(V) ACTIV_BOOST_PREDEF_MAKE_DATE((V)/100,(V)%100,1)
#endif
-32
View File
@@ -1,32 +0,0 @@
/*
Copyright Rene Rivera 2008-2015
Copyright Franz Detro 2014
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)
*/
#if !defined(ACTIV_BOOST_PREDEF_OS_H) || defined(ACTIV_BOOST_PREDEF_INTERNAL_GENERATE_TESTS)
#ifndef ACTIV_BOOST_PREDEF_OS_H
#define ACTIV_BOOST_PREDEF_OS_H
#endif
#include <ActivBoost/predef/os/aix.h>
#include <ActivBoost/predef/os/amigaos.h>
#include <ActivBoost/predef/os/beos.h>
#include <ActivBoost/predef/os/bsd.h>
#include <ActivBoost/predef/os/cygwin.h>
#include <ActivBoost/predef/os/haiku.h>
#include <ActivBoost/predef/os/hpux.h>
#include <ActivBoost/predef/os/irix.h>
#include <ActivBoost/predef/os/ios.h>
#include <ActivBoost/predef/os/linux.h>
#include <ActivBoost/predef/os/macos.h>
#include <ActivBoost/predef/os/os400.h>
#include <ActivBoost/predef/os/qnxnto.h>
#include <ActivBoost/predef/os/solaris.h>
#include <ActivBoost/predef/os/unix.h>
#include <ActivBoost/predef/os/vms.h>
#include <ActivBoost/predef/os/windows.h>
#endif
-67
View File
@@ -1,67 +0,0 @@
/*
Copyright Rene Rivera 2008-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 ACTIV_BOOST_PREDEF_OS_AIX_H
#define ACTIV_BOOST_PREDEF_OS_AIX_H
#include <ActivBoost/predef/version_number.h>
#include <ActivBoost/predef/make.h>
/* tag::reference[]
= `ACTIV_BOOST_OS_AIX`
http://en.wikipedia.org/wiki/AIX_operating_system[IBM AIX] operating system.
Version number available as major, minor, and patch.
[options="header"]
|===
| {predef_symbol} | {predef_version}
| `+_AIX+` | {predef_detection}
| `+__TOS_AIX__+` | {predef_detection}
| `+_AIX43+` | 4.3.0
| `+_AIX41+` | 4.1.0
| `+_AIX32+` | 3.2.0
| `+_AIX3+` | 3.0.0
|===
*/ // end::reference[]
#define ACTIV_BOOST_OS_AIX ACTIV_BOOST_VERSION_NUMBER_NOT_AVAILABLE
#if !defined(ACTIV_BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
defined(_AIX) || defined(__TOS_AIX__) \
)
# undef ACTIV_BOOST_OS_AIX
# if !defined(ACTIV_BOOST_OS_AIX) && defined(_AIX43)
# define ACTIV_BOOST_OS_AIX ACTIV_BOOST_VERSION_NUMBER(4,3,0)
# endif
# if !defined(ACTIV_BOOST_OS_AIX) && defined(_AIX41)
# define ACTIV_BOOST_OS_AIX ACTIV_BOOST_VERSION_NUMBER(4,1,0)
# endif
# if !defined(ACTIV_BOOST_OS_AIX) && defined(_AIX32)
# define ACTIV_BOOST_OS_AIX ACTIV_BOOST_VERSION_NUMBER(3,2,0)
# endif
# if !defined(ACTIV_BOOST_OS_AIX) && defined(_AIX3)
# define ACTIV_BOOST_OS_AIX ACTIV_BOOST_VERSION_NUMBER(3,0,0)
# endif
# if !defined(ACTIV_BOOST_OS_AIX)
# define ACTIV_BOOST_OS_AIX ACTIV_BOOST_VERSION_NUMBER_AVAILABLE
# endif
#endif
#if ACTIV_BOOST_OS_AIX
# define ACTIV_BOOST_OS_AIX_AVAILABLE
# include <ActivBoost/predef/detail/os_detected.h>
#endif
#define ACTIV_BOOST_OS_AIX_NAME "IBM AIX"
#endif
#include <ActivBoost/predef/detail/test.h>
ACTIV_BOOST_PREDEF_DECLARE_TEST(ACTIV_BOOST_OS_AIX,ACTIV_BOOST_OS_AIX_NAME)
Loaded 100 of 10967 files, more files were not shown because too many files have changed in this diff. Show more