diff --git a/doc/data/arrays.html b/doc/data/arrays.html index ddbf517..181014e 100644 --- a/doc/data/arrays.html +++ b/doc/data/arrays.html @@ -1,53 +1,47 @@ - - arrays.html - - - -

Arrays

-
- An array is a data structure consisting of a two-element tuple.  - The first element is the number of elements in the array.  - The second element is another tuple of the elements in the array.  - For example, -
-
- (3, (a, b, c)) -
-
- ...is an array of 3 elements--a, b, and c. -
-
- The primary strength of arrays is that they store their own size.  - Because of this, access to elements does not require the size.  - It only requires that an element exists at a certain index. -
-
- This allows macro parameters to be variable in size and allows data states to change - size without the user explicitly keeping track of the size independently. -
-
- Elements of an array can be extracted with BOOST_PP_ARRAY_ELEM, - an array's size can be extracted with BOOST_PP_ARRAY_SIZE, and - an array can be converted to the more primitive tuple data structure - with BOOST_PP_ARRAY_DATA. -
-

Primitives

- -
-
- © 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)

-
- + + arrays.html + + + +

Arrays

+
An array is a data structure consisting of a two-element tuple.  + The first element is the number of elements in the array.  + The second element is another tuple of the elements in the array.  + For example,
+
(3, (a, b, c))
+
...is an array of 3 elements--a, b, and + c.
+
The primary strength of arrays is that they store their own + size.  Because of this, access to elements does not require the + size.  It only requires that an element exists at a certain index.
+
This allows macro parameters to be variable in size and allows data + states to change size without the user explicitly keeping track of the + size independently.
+
With variadic macro support a tuple has all of the + functionality as an array, knows its own size, and is easier + syntactically to use. Because of that an array should be used, as + opposed to a tuple, only if your compiler does not support + variadic macros.
+
+ Elements of an array can be extracted with BOOST_PP_ARRAY_ELEM, + an array's size can be extracted with BOOST_PP_ARRAY_SIZE, + and an array can be converted to the more primitive tuple + data structure with BOOST_PP_ARRAY_DATA.
+

Primitives

+ +
+
© 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/data/tuples.html b/doc/data/tuples.html index 38b6d5c..4b5bbea 100644 --- a/doc/data/tuples.html +++ b/doc/data/tuples.html @@ -1,42 +1,35 @@ - - tuples.html - - - -

Tuples

-
- A tuple is a simple comma-separated list of elements inside parenthesis.  - For example, -
-
- (a, b, c) -
-
- ...is a tuple of 3 elements--a, b, and c. -
-
- Tuples are fast and easy to use.  - However, all access to tuples requires knowledge of its size. -
-
- Elements of a tuple can be extracted with - BOOST_PP_TUPLE_ELEM. -
-

Primitives

- -
-
- © 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)

-
- + + tuples.html + + + +

Tuples

+
A tuple is a simple comma-separated list of elements inside + parenthesis.  For example,
+
(a, b, c)
+
...is a tuple of 3 elements--a, b, and + c.
+
Tuples are fast and easy to use.  With variadic macro + support it is not necessary to know the size of a tuple; without + variadic macro support all access to tuples requires + knowledge of its size. Use a tuple instead of an array if + your compiler supports variadic macros, since a tuple has all of + the functionality as an array and is easier syntactically to use.
+
Elements of a tuple can be extracted with BOOST_PP_TUPLE_ELEM. +
+

Primitives

+ +
+
© 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/headers.html b/doc/headers.html index 739dafb..90b59fd 100644 --- a/doc/headers.html +++ b/doc/headers.html @@ -1,232 +1,247 @@ - - headers.html - - - - - -

Headers [back] -

- - - + + +

Headers [back] +

+ + + diff --git a/doc/headers/tuple.html b/doc/headers/tuple.html index 55e9ade..96da3cb 100644 --- a/doc/headers/tuple.html +++ b/doc/headers/tuple.html @@ -1,37 +1,59 @@ - + + tuple.hpp - - - -
- The tuple.hpp includes the headers in the tuple folder. -
-

Usage

-
- #include <boost/preprocessor/tuple.hpp> -
-

Includes

+ + + +
The tuple.hpp includes the headers + in the tuple folder.
+

Usage

+
#include <boost/preprocessor/tuple.hpp>
+

Includes

-
-
- © 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)

-
- +
  • <boost/preprocessor/tuple/eat.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/elem.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/enum.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/insert.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/pop_back.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/pop_front.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/push_back.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/push_front.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/rem.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/remove.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/replace.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/reverse.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/size.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/to_array.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/to_list.hpp> + (v)
  • +
  • <boost/preprocessor/tuple/to_seq.hpp> + (v)
  • + +
    +
    © Copyright Housemarque Oy 2002
    + © Copyright Paul Mensonides 2002
    +
    © Copyright Edward Diener 2013
    +
    +
    +

    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/headers/tuple/insert.html b/doc/headers/tuple/insert.html new file mode 100644 index 0000000..2af84b4 --- /dev/null +++ b/doc/headers/tuple/insert.html @@ -0,0 +1,27 @@ + + + + tuple/insert.hpp + + + +
    The tuple/insert.hpp header defines + macros to insert an element into an tuple.
    +

    Usage

    +
    #include <boost/preprocessor/tuple/insert.hpp> +
    +

    Contents

    + +
    +
    © Copyright Edward Diener 2013
    +
    +

    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/headers/tuple/pop_back.html b/doc/headers/tuple/pop_back.html new file mode 100644 index 0000000..e6edefc --- /dev/null +++ b/doc/headers/tuple/pop_back.html @@ -0,0 +1,28 @@ + + + + tuple/pop_back.hpp + + + +
    The tuple/pop_back.hpp header + defines macros to pop an element from the end of an tuple.
    +

    Usage

    +
    #include <boost/preprocessor/tuple/pop_back.hpp> +
    +

    Contents

    + +
    +
    © Copyright Edward Diener 2013
    +
    +

    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/headers/tuple/pop_front.html b/doc/headers/tuple/pop_front.html new file mode 100644 index 0000000..633acdb --- /dev/null +++ b/doc/headers/tuple/pop_front.html @@ -0,0 +1,28 @@ + + + + tuple/pop_front.hpp + + + +
    The tuple/pop_front.hpp header + defines macros to pop an element from the beginning of an tuple.
    +

    Usage

    +
    #include <boost/preprocessor/tuple/pop_front.hpp> +
    +

    Contents

    + +
    +
    © Copyright Edward Diener 2013
    +
    +

    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/headers/tuple/push_back.html b/doc/headers/tuple/push_back.html new file mode 100644 index 0000000..9cedd21 --- /dev/null +++ b/doc/headers/tuple/push_back.html @@ -0,0 +1,26 @@ + + + + tuple/push_back.hpp + + + +
    The tuple/push_back.hpp header + defines a macro to append an element to the end of an tuple.
    +

    Usage

    +
    #include <boost/preprocessor/tuple/push_back.hpp> +
    +

    Contents

    + +
    +
    © Copyright Edward Diener 2013
    +
    +

    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/headers/tuple/push_front.html b/doc/headers/tuple/push_front.html new file mode 100644 index 0000000..7d5510b --- /dev/null +++ b/doc/headers/tuple/push_front.html @@ -0,0 +1,26 @@ + + + + tuple/push_front.hpp + + + +
    The tuple/push_front.hpp header + defines a macro to append an element to the beginning of an tuple.
    +

    Usage

    +
    #include <boost/preprocessor/tuple/push_front.hpp> +
    +

    Contents

    + +
    +
    © Copyright Edward Diener 2013
    +
    +

    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/headers/tuple/remove.html b/doc/headers/tuple/remove.html new file mode 100644 index 0000000..651113c --- /dev/null +++ b/doc/headers/tuple/remove.html @@ -0,0 +1,27 @@ + + + + tuple/remove.hpp + + + +
    The tuple/remove.hpp header defines + macros to remove an element from an array.
    +

    Usage

    +
    #include <boost/preprocessor/tuple/remove.hpp> +
    +

    Contents

    + +
    +
    © Copyright Edward Diener 2013
    +
    +

    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/headers/tuple/replace.html b/doc/headers/tuple/replace.html new file mode 100644 index 0000000..03ca25d --- /dev/null +++ b/doc/headers/tuple/replace.html @@ -0,0 +1,28 @@ + + + + tuple/replace.hpp + + + +
    The tuple/replace.hpp header + defines macros to replace an element in an array.
    +

    Usage

    +
    #include <boost/preprocessor/tuple/replace.hpp> +
    +

    Contents

    + +
    +
    © Copyright Edward Diener 2013
    +
    +

    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.html b/doc/ref.html index eb8d926..82c2905 100644 --- a/doc/ref.html +++ b/doc/ref.html @@ -1,304 +1,316 @@ + ref.html - - + + -

    Reference [back] -

    - - +

    Reference [back] +

    + + - \ No newline at end of file + diff --git a/doc/ref/array_pop_front.html b/doc/ref/array_pop_front.html index bac211a..0c3718d 100644 --- a/doc/ref/array_pop_front.html +++ b/doc/ref/array_pop_front.html @@ -1,59 +1,51 @@ - - BOOST_PP_ARRAY_POP_FRONT - - - -
    - The BOOST_PP_ARRAY_POP_FRONT macro pops an element from the end of an array. -
    -

    Usage

    -
    - BOOST_PP_ARRAY_POP_FRONT(array) -
    -

    Arguments

    -
    -
    array
    -
    - The array to pop an element from. -
    -
    -

    Remarks

    -
    - This macro returns array after removing the first element.  - If array has no elements, the result of applying this macro is undefined. -
    -
    - This macro uses BOOST_PP_REPEAT internally.  - Therefore, to use the z parameter passed from other macros that use - BOOST_PP_REPEAT, see BOOST_PP_ARRAY_POP_FRONT_Z -
    -

    See Also

    - -

    Requirements

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

    Sample Code

    -
    -#include <boost/preprocessor/array/pop_front.hpp>
    +  
    +    
    +    BOOST_PP_ARRAY_POP_FRONT
    +    
    +  
    +  
    +    
    The BOOST_PP_ARRAY_POP_FRONT macro + pops an element from the beginning of an array.
    +

    Usage

    +
    BOOST_PP_ARRAY_POP_FRONT(array)
    +

    Arguments

    +
    +
    array
    +
    The array to pop an element from.
    +
    +

    Remarks

    +
    This macro returns array after removing the first + element.  If array has no elements, the result of applying + this macro is undefined.
    +
    This macro uses BOOST_PP_REPEAT internally.  Therefore, + to use the z parameter passed from other macros that use BOOST_PP_REPEAT, + see BOOST_PP_ARRAY_POP_FRONT_Z
    +

    See Also

    + +

    Requirements

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

    Sample Code

    +
    +
    #include <boost/preprocessor/array/pop_front.hpp>
     
     #define ARRAY (3, (a, b, c))
     
     BOOST_PP_ARRAY_POP_FRONT(ARRAY) // expands to (2, (b, c))
     
    -
    -
    - © 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
    +
    © Copyright Edward Diener 2013
    +
    +
    +

    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/tuple_insert.html b/doc/ref/tuple_insert.html new file mode 100644 index 0000000..0c58681 --- /dev/null +++ b/doc/ref/tuple_insert.html @@ -0,0 +1,54 @@ + + + + BOOST_PP_TUPLE_INSERT + + + +
    The BOOST_PP_TUPLE_INSERT macro + inserts an element into an tuple.
    +

    Usage

    +
    BOOST_PP_TUPLE_INSERT(tuple, i, elem) + (v)
    +

    Arguments

    +
    +
    tuple
    +
    The tuple into which an element is to be inserted.
    +
    i
    +
    The zero-based position in tuple where an element is to be + inserted.  Valid values range from 0 to BOOST_PP_TUPLE_SIZE(tuple).
    +
    elem
    +
    The element to insert.
    +
    +

    Remarks

    +
    This macro inserts elem before the element at index i. +
    +
    If the operation attempts to create an tuple that is larger + than BOOST_PP_LIMIT_TUPLE, the result is undefined.
    +
    This macro uses BOOST_PP_WHILE interally.  Therefore, to + use the d parameter passed from other macros that use BOOST_PP_WHILE, + see BOOST_PP_TUPLE_INSERT_D.
    +

    See Also

    + +

    Requirements

    +
    Header:  <boost/preprocessor/tuple/insert.hpp> +
    +

    Sample Code

    +
    +
    #include <boost/preprocessor/tuple/insert.hpp>
    +
    +#define TUPLE (a, b, d)
    +
    +BOOST_PP_TUPLE_INSERT(TUPLE, 2, c) // expands to (a, b, c, d)
    +
    +
    +
    © Copyright Edward Diener 2013
    +
    +

    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/tuple_insert_d.html b/doc/ref/tuple_insert_d.html new file mode 100644 index 0000000..53fbea1 --- /dev/null +++ b/doc/ref/tuple_insert_d.html @@ -0,0 +1,46 @@ + + + + BOOST_PP_TUPLE_INSERT_D + + + +
    The BOOST_PP_TUPLE_INSERT_D macro + inserts an element into a tuple.  It reenters BOOST_PP_WHILE + with maximum efficiency.
    +

    Usage

    +
    BOOST_PP_TUPLE_INSERT_D(d, tuple, + i, elem) (v)
    +

    Arguments

    +
    +
    d
    +
    The next available BOOST_PP_WHILE iteration.
    +
    tuple
    +
    The tuple into which an element is to be inserted.
    +
    i
    +
    The zero-based position in tuple where an element is to be + inserted.  Valid values range from 0 to BOOST_PP_TUPLE_SIZE(tuple).
    +
    elem
    +
    The element to insert.
    +
    +

    Remarks

    +
    This macro inserts elem before the element at index i. +
    +
    If the operation attempts to create an tuple that is larger + than BOOST_PP_LIMIT_TUPLE, the result is undefined.
    +

    See Also

    + +

    Requirements

    +
    Header:  <boost/preprocessor/tuple/insert.hpp> +
    +
    +
    © Copyright Edward Diener 2013
    +
    +

    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/tuple_pop_back.html b/doc/ref/tuple_pop_back.html new file mode 100644 index 0000000..63df90a --- /dev/null +++ b/doc/ref/tuple_pop_back.html @@ -0,0 +1,48 @@ + + + + BOOST_PP_TUPLE_POP_BACK + + + +
    The BOOST_PP_TUPLE_POP_BACK macro + pops an element from the end of an tuple.
    +

    Usage

    +
    BOOST_PP_TUPLE_POP_BACK(tuple) (v)
    +

    Arguments

    +
    +
    tuple
    +
    The tuple to pop an element from.
    +
    +

    Remarks

    +
    This macro returns tuple + after removing the last element.  If tuple has only a single + element, it remains unchanged since a tuple must have at + least one element.
    +
    This macro uses BOOST_PP_REPEAT internally.  Therefore, + to use the z parameter passed from other macros that use BOOST_PP_REPEAT, + see BOOST_PP_TUPLE_POP_BACK_Z
    +

    See Also

    + +

    Requirements

    +
    Header:  <boost/preprocessor/tuple/pop_back.hpp> +
    +

    Sample Code

    +
    +
    #include <boost/preprocessor/tuple/pop_back.hpp>
    +
    +#define TUPLE (a, b, c)
    +
    +BOOST_PP_TUPLE_POP_BACK(TUPLE) // expands to (a, b)
    +
    +
    +
    © Copyright Edward Diener 2013
    +
    +

    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/tuple_pop_back_z.html b/doc/ref/tuple_pop_back_z.html new file mode 100644 index 0000000..99b26c6 --- /dev/null +++ b/doc/ref/tuple_pop_back_z.html @@ -0,0 +1,40 @@ + + + + BOOST_PP_TUPLE_POP_BACK_Z + + + +
    The BOOST_PP_TUPLE_POP_BACK_Z macro + pops an element from the end of an tuple.  It reenters BOOST_PP_REPEAT + with maximum efficiency.
    +

    Usage

    +
    BOOST_PP_TUPLE_POP_BACK_Z(z, tuple) + (v)
    +

    Arguments

    +
    +
    z
    +
    The next available BOOST_PP_REPEAT dimension.
    +
    tuple
    +
    The tuple to pop an element from.
    +
    +

    Remarks

    +
    This macro returns tuple after removing the last + element.  If tuple has only a single element, it remains + unchanged since a tuple must have at least one element.
    +

    See Also

    + +

    Requirements

    +
    Header:  <boost/preprocessor/tuple/pop_back.hpp> +
    +
    +
    © Copyright Edward Diener 2013
    +
    +

    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/tuple_pop_front.html b/doc/ref/tuple_pop_front.html new file mode 100644 index 0000000..ca388ce --- /dev/null +++ b/doc/ref/tuple_pop_front.html @@ -0,0 +1,47 @@ + + + + BOOST_PP_TUPLE_POP_FRONT + + + +
    The BOOST_PP_TUPLE_POP_FRONT macro + pops an element from the beginning of a tuple.
    +

    Usage

    +
    BOOST_PP_TUPLE_POP_FRONT(tuple) (v)
    +

    Arguments

    +
    +
    tuple
    +
    The tuple to pop an element from.
    +
    +

    Remarks

    +
    This macro returns tuple after removing the first + element.  If tuple has only a single element, it remains + unchanged since a tuple must have at least one element.
    +
    This macro uses BOOST_PP_REPEAT internally.  Therefore, + to use the z parameter passed from other macros that use BOOST_PP_REPEAT, + see BOOST_PP_TUPLE_POP_FRONT_Z
    +

    See Also

    + +

    Requirements

    +
    Header:  <boost/preprocessor/tuple/pop_front.hpp> +
    +

    Sample Code

    +
    +
    #include <boost/preprocessor/tuple/pop_front.hpp>
    +
    +#define TUPLE (a, b, c)
    +
    +BOOST_PP_TUPLE_POP_FRONT(TUPLE) // expands to (b, c)
    +
    +
    +
    © Copyright Edward Diener 2013
    +
    +

    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/tuple_pop_front_z.html b/doc/ref/tuple_pop_front_z.html new file mode 100644 index 0000000..d65e7f4 --- /dev/null +++ b/doc/ref/tuple_pop_front_z.html @@ -0,0 +1,40 @@ + + + + BOOST_PP_TUPLE_POP_FRONT_Z + + + +
    The BOOST_PP_TUPLE_POP_FRONT_Z + macro pops an element from the beginning of a tuple.  It + reenters BOOST_PP_REPEAT with maximum efficiency.
    +

    Usage

    +
    BOOST_PP_TUPLE_POP_FRONT_Z(z, tuple) + (v)
    +

    Arguments

    +
    +
    z
    +
    The next available BOOST_PP_REPEAT dimension.
    +
    tuple
    +
    The tuple to pop an element from.
    +
    +

    Remarks

    +
    This macro returns tuple after removing the first + element.  If tuple has only a single element, it remains + unchanged since a tuple must have at least one element.
    +

    See Also

    + +

    Requirements

    +
    Header:  <boost/preprocessor/tuple/pop_front.hpp> +
    +
    +
    © Copyright Edward Diener 2013
    +
    +

    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/tuple_push_back.html b/doc/ref/tuple_push_back.html new file mode 100644 index 0000000..3ebc99c --- /dev/null +++ b/doc/ref/tuple_push_back.html @@ -0,0 +1,39 @@ + + + + BOOST_PP_TUPLE_PUSH_BACK + + + +
    The BOOST_PP_TUPLE_PUSH_BACK macro + appends an element to the end of a tuple.
    +

    Usage

    +
    BOOST_PP_TUPLE_PUSH_BACK(tuple, elem) + (v)
    +

    Arguments

    +
    +
    tuple
    +
    The tuple to append an element to.
    +
    elem
    +
    The element to append.
    +
    +

    Requirements

    +
    Header:  <boost/preprocessor/tuple/push_back.hpp> +
    +

    Sample Code

    +
    +
    #include <boost/preprocessor/tuple/push_back.hpp>
    +
    +#define TUPLE (a, b, c)
    +
    +BOOST_PP_TUPLE_PUSH_BACK(TUPLE, d) // expands to (a, b, c, d)
    +
    +
    +
    © Copyright Edward Diener 2013
    +
    +

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

    +
    + + diff --git a/doc/ref/tuple_push_front.html b/doc/ref/tuple_push_front.html new file mode 100644 index 0000000..cfabc88 --- /dev/null +++ b/doc/ref/tuple_push_front.html @@ -0,0 +1,39 @@ + + + + BOOST_PP_TUPLE_PUSH_FRONT + + + +
    The BOOST_PP_TUPLE_PUSH_FRONT macro + appends an element to the beginning of a tuple.
    +

    Usage

    +
    BOOST_PP_TUPLE_PUSH_FRONT(tuple, elem) + (v)
    +

    Arguments

    +
    +
    tuple
    +
    The tuple to append an element to.
    +
    elem
    +
    The element to append.
    +
    +

    Requirements

    +
    Header:  <boost/preprocessor/tuple/push_front.hpp> +
    +

    Sample Code

    +
    +
    #include <boost/preprocessor/tuple/push_front.hpp>
    +
    +#define TUPLE (b, c, d)
    +
    +BOOST_PP_TUPLE_PUSH_FRONT(TUPLE, a) // expands to (a, b, c, d)
    +
    +
    +
    © Copyright Edward Diener 2013
    +
    +

    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/tuple_rem.html b/doc/ref/tuple_rem.html index b2de7a2..825e30d 100644 --- a/doc/ref/tuple_rem.html +++ b/doc/ref/tuple_rem.html @@ -33,6 +33,7 @@ completely so that the macro can be invoked as BOOST_PP_TUPLE_REM(); you may get functionality will still work. If you specify a size in the variadic version, it will be ignored, but the warning from some compilers will not occur.
    +
    Note: For Visual C++ 8.0 ( Visual Studio 2005 ) you must specify the correct size argument as in the non-variadic version.

    See Also