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