diff --git a/.travis.yml b/.travis.yml index 797ef32..8865483 100644 --- a/.travis.yml +++ b/.travis.yml @@ -108,7 +108,7 @@ matrix: - os: linux compiler: g++-8 - env: TOOLSET=gcc COMPILER=g++-8 CXXSTD=03,11,14,17,2a + env: TOOLSET=gcc COMPILER=g++-8 CXXSTD=03,11,14,17 addons: apt: packages: @@ -118,7 +118,7 @@ matrix: - os: linux compiler: g++-9 - env: TOOLSET=gcc COMPILER=g++-9 CXXSTD=03,11,14,17,2a + env: TOOLSET=gcc COMPILER=g++-9 CXXSTD=03,11,14,17 addons: apt: packages: @@ -126,6 +126,17 @@ matrix: sources: - ubuntu-toolchain-r-test + - os: linux + dist: bionic + compiler: g++-10 + env: TOOLSET=gcc COMPILER=g++-10 CXXSTD=03,11,14,17,2a + addons: + apt: + packages: + - g++-10 + sources: + - ubuntu-toolchain-r-test + - os: linux compiler: clang++ env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11 @@ -220,7 +231,7 @@ matrix: - os: linux compiler: clang++-6.0 - env: TOOLSET=clang COMPILER=clang++-6.0 CXXSTD=03,11,14,17,2a + env: TOOLSET=clang COMPILER=clang++-6.0 CXXSTD=03,11,14,17 addons: apt: packages: @@ -230,7 +241,7 @@ matrix: - os: linux compiler: clang++-7 - env: TOOLSET=clang COMPILER=clang++-7 CXXSTD=03,11,14,17,2a + env: TOOLSET=clang COMPILER=clang++-7 CXXSTD=03,11,14,17 addons: apt: packages: @@ -241,7 +252,7 @@ matrix: - os: linux compiler: clang++-8 - env: TOOLSET=clang COMPILER=clang++-8 CXXSTD=03,11,14,17,2a + env: TOOLSET=clang COMPILER=clang++-8 CXXSTD=03,11,14,17 addons: apt: packages: @@ -262,6 +273,18 @@ matrix: - sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main' key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' + - os: linux + compiler: clang++-10 + env: TOOLSET=clang COMPILER=clang++-10 CXXSTD=03,11,14,17,2a + addons: + apt: + packages: + - clang-10 + sources: + - ubuntu-toolchain-r-test + - sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-10 main' + key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' + - os: linux dist: trusty compiler: clang++-libc++ diff --git a/doc/ref/array_enum.html b/doc/ref/array_enum.html index 674d788..a373203 100644 --- a/doc/ref/array_enum.html +++ b/doc/ref/array_enum.html @@ -1,37 +1,52 @@ + - - BOOST_PP_ARRAY_ENUM - - - -
The BOOST_PP_ARRAY_ENUM macro converts an array to its comma-separated elements. The comma-separated elements are in the form of variadic data.
-
-

Usage

-
BOOST_PP_ARRAY_ENUM(array)
-

Arguments

-
-
array
-
The array whose elements are to be converted.
-
-

Remarks

-
This macro expands to a comma-separated list of the elements in array.  -For example, BOOST_PP_ARRAY_ENUM((3,(x,y,z))) -expands to... -
x, y, z
-
-

Requirements

-
Header:  <boost/preprocessor/array/enum.hpp> -
-

Sample Code

-
-
#include <boost/preprocessor/array/enum.hpp>

#define ARRAY (5,(B,O,O,S,T))

BOOST_PP_ARRAY_ENUM(ARRAY) // expands to B, O, O, S, T
-
-
-
© Copyright Edward Diener 2011
-
-

Distributed under the Boost Software License, Version 1.0. -(See accompanying file LICENSE_1_0.txt -or copy at www.boost.org/LICENSE_1_0.txt)

-
- + + + + BOOST_PP_ARRAY_ENUM + + + +
The BOOST_PP_ARRAY_ENUM + macro converts an array to its comma-separated elements. + The comma-separated elements are in the form of variadic data.
+
+

Usage

+
BOOST_PP_ARRAY_ENUM(array)
+

Arguments

+
+
array
+
The array whose elements are to be converted.
+
+

Remarks

+
This macro expands to a comma-separated list of the elements + in array.  + For example, BOOST_PP_ARRAY_ENUM((3,(x,y,z))) +expands + to... +
x, y, z
+
+
+

    In C++ + 20 mode if the array is empty the resulting variadic + data will be empty.

+

+

Requirements

+
Header:  <boost/preprocessor/array/enum.hpp> +
+

Sample Code

+
+
#include <boost/preprocessor/array/enum.hpp>

#define ARRAY (5,(B,O,O,S,T))

BOOST_PP_ARRAY_ENUM(ARRAY) // expands to B, O, O, S, T
+
+
+
© Copyright Edward Diener + 2011
+
+

Distributed under the Boost Software License, Version + 1.0. + (See accompanying file LICENSE_1_0.txt + or copy at www.boost.org/LICENSE_1_0.txt)

+
+ diff --git a/doc/ref/list_enum.html b/doc/ref/list_enum.html index e3f6059..4635944 100644 --- a/doc/ref/list_enum.html +++ b/doc/ref/list_enum.html @@ -1,62 +1,62 @@ + - - BOOST_PP_LIST_ENUM - - - -
- The BOOST_PP_LIST_ENUM macro converts a list to a comma-separated list. -
-

Usage

-
- BOOST_PP_LIST_ENUM(list) -
-

Arguments

-
-
list
-
- The list to be converted. -
-
-

Remarks

-
- If list is, for example, (a, (b, (c, BOOST_PP_NIL))), - this macro will produce: -
- a, b, c -
-
-
- Previously, this macro could not be used inside BOOST_PP_FOR.  - There is no longer any such restriction.  - It is more efficient, however, to use BOOST_PP_LIST_ENUM_R in such a situation. -
-

See Also

- -

Requirements

-
- Header:  <boost/preprocessor/list/enum.hpp> -
-

Sample Code

-
-#include <boost/preprocessor/list/enum.hpp>
+  
+
+    
+    BOOST_PP_LIST_ENUM
+    
+  
+  
+    
The BOOST_PP_LIST_ENUM macro + converts a list to a comma-separated list.
+

Usage

+
BOOST_PP_LIST_ENUM(list)
+

Arguments

+
+
list
+
The list to be converted.
+
+

Remarks

+
If list is, for example, (a, (b, (c, + BOOST_PP_NIL))), this macro will produce: +
a, b, c
+
+
Previously, this macro could not be used inside BOOST_PP_FOR.  + + There is no longer any such restriction.  It is more + efficient, however, to use BOOST_PP_LIST_ENUM_R in such a + situation.
+
+ In C++ + 20 mode if the list is empty the resulting variadic + data will be empty.
+

See Also

+ +

Requirements

+
Header:  <boost/preprocessor/list/enum.hpp> +
+

Sample Code

+
+
#include <boost/preprocessor/list/enum.hpp>
 
 #define LIST (w, (x, (y, (z, BOOST_PP_NIL))))
 
 BOOST_PP_LIST_ENUM(LIST) // expands to w, x, y, z
-
-
-
- © Copyright Housemarque Oy 2002 -
© Copyright Paul Mensonides 2002 -
-
-

Distributed under the Boost Software License, Version 1.0. (See - accompanying file LICENSE_1_0.txt or - copy at www.boost.org/LICENSE_1_0.txt)

-
- +
+
+
+
© Copyright Housemarque Oy + 2002
+ © Copyright Paul Mensonides 2002
+
+

Distributed under the Boost Software License, Version + 1.0. (See accompanying file LICENSE_1_0.txt or + copy at www.boost.org/LICENSE_1_0.txt)

+
+ diff --git a/doc/ref/list_enum_r.html b/doc/ref/list_enum_r.html index ff16cea..6fd6627 100644 --- a/doc/ref/list_enum_r.html +++ b/doc/ref/list_enum_r.html @@ -31,6 +31,12 @@ a, b, c +
+ In C++ + 20 mode if the list is empty the resulting variadic + data will be empty. +

See Also