diff --git a/doc/ref/limit_for.html b/doc/ref/limit_for.html index 414b81c..ad8bb90 100644 --- a/doc/ref/limit_for.html +++ b/doc/ref/limit_for.html @@ -1,8 +1,8 @@ - + - - + BOOST_PP_LIMIT_FOR @@ -12,15 +12,24 @@

Usage

BOOST_PP_LIMIT_FOR

Remarks

-
This macro expands by default to 256. The end-user can - change this to 512 or 1024 by defining this macro to either value - before including any library headers, as long as the end-user also +
This macro expands by default to 256. For a C++ + standard conforming preprocessor, the end-user can change this to + 512 or 1024 by defining this macro to either value before + including any library headers, as long as the end-user also defines the BOOST_PP_LIMIT_MAG macro to be equal to or greater than this value.

Requirements

Header:  <boost/preprocessor/config/limits.hpp>
+ See also
+
+ +

© Copyright Housemarque Oy diff --git a/doc/ref/limit_iteration.html b/doc/ref/limit_iteration.html index 25df9a3..e5aa40e 100644 --- a/doc/ref/limit_iteration.html +++ b/doc/ref/limit_iteration.html @@ -1,8 +1,8 @@ - + - - + BOOST_PP_LIMIT_ITERATION @@ -13,15 +13,24 @@

Usage

BOOST_PP_LIMIT_ITERATION

Remarks

-
This macro expands by default to 256. The end-user can - change this to 512 or 1024 by defining this macro to either value - before including any library headers, as long as the end-user also +
This macro expands by default to 256. For a C++ + standard conforming preprocessor, the end-user can change this to + 512 or 1024 by defining this macro to either value before + including any library headers, as long as the end-user also defines the BOOST_PP_LIMIT_MAG macro to be equal to or greater than this value.

Requirements

Header:  <boost/preprocessor/config/limits.hpp>
+ See also
+
+ +

© Copyright Housemarque Oy diff --git a/doc/ref/limit_mag.html b/doc/ref/limit_mag.html index dbdc8e1..344a4e8 100644 --- a/doc/ref/limit_mag.html +++ b/doc/ref/limit_mag.html @@ -1,8 +1,8 @@ - + - - + BOOST_PP_LIMIT_MAG @@ -12,12 +12,21 @@

Usage

BOOST_PP_LIMIT_MAG

Remarks

-
This macro expands by default to 256. The end-user can - change this to 512 or 1024 by defining this macro to either value - before including any library headers.
+
This macro expands by default to 256. For a C++ + standard conforming preprocessor, the end-user can change this to + 512 or 1024 by defining this macro to either value before + including any library headers.

Requirements

+ See also
+
+ +

© Copyright Housemarque Oy diff --git a/doc/ref/limit_repeat.html b/doc/ref/limit_repeat.html index 28de226..fe369be 100644 --- a/doc/ref/limit_repeat.html +++ b/doc/ref/limit_repeat.html @@ -1,4 +1,4 @@ - + Usage
BOOST_PP_LIMIT_REPEAT

Remarks

-
This macro expands by default to 256. The end-user can - change this to 512 or 1024 by defining this macro to either value - before including any library headers, as long as the end-user also +
This macro expands by default to 256. For a C++ + standard conforming preprocessor, the end-user can change this to + 512 or 1024 by defining this macro to either value before + including any library headers, as long as the end-user also defines the BOOST_PP_LIMIT_MAG macro to be equal to or greater than this value.
@@ -38,6 +39,14 @@ href="file:///E:/Programming/VersionControl/modular-boost/libs/preprocessor/doc/

Requirements

+ See also
+
+ +

© Copyright Housemarque Oy diff --git a/doc/ref/limit_seq.html b/doc/ref/limit_seq.html index a21bbf3..cc93410 100644 --- a/doc/ref/limit_seq.html +++ b/doc/ref/limit_seq.html @@ -1,8 +1,8 @@ - + - - + BOOST_PP_LIMIT_SEQ @@ -12,14 +12,23 @@

Usage

BOOST_PP_LIMIT_SEQ

Remarks

-
This macro expands by default to 256. The macro actually - expands to the value of the BOOST_PP_LIMIT_MAG +
This macro expands by default to 256. For a C++ standard + conforming preprocessor, the macro actually expands to the value + of the BOOST_PP_LIMIT_MAG macro, but can be set to a lower value than BOOST_PP_LIMIT_MAG if desired, but never to a higher value.

Requirements

+ See also
+
+ +

© Copyright Housemarque Oy diff --git a/doc/ref/limit_tuple.html b/doc/ref/limit_tuple.html index 3102188..a26459d 100644 --- a/doc/ref/limit_tuple.html +++ b/doc/ref/limit_tuple.html @@ -1,8 +1,8 @@ - + - - + BOOST_PP_LIMIT_TUPLE @@ -13,16 +13,25 @@

Usage

BOOST_PP_LIMIT_TUPLE

Remarks

-
This macro expands by default to 64. The end-user can - change this to 128 or 256 by defining this macro to either value - before including any library headers. If the end-user changes the - value of the macro the BOOST_PP_LIMIT_VARIADIC +
This macro expands by default to 64. For a C++ + standard conforming preprocessor, the end-user can change this to + 128 or 256 by defining this macro to either value before including + any library headers. If the end-user changes the value of the + macro the BOOST_PP_LIMIT_VARIADIC macro is changed to the same value unless the end-user has changed BOOST_PP_LIMIT_VARIADIC to a higher value.

Requirements

+ See also
+
+ +

© Copyright Housemarque Oy diff --git a/doc/ref/limit_variadic.html b/doc/ref/limit_variadic.html index e86aba7..74de943 100644 --- a/doc/ref/limit_variadic.html +++ b/doc/ref/limit_variadic.html @@ -1,35 +1,43 @@ - + - - + BOOST_PP_LIMIT_VARIADIC
The BOOST_PP_LIMIT_VARIADIC - macro - defines the maximum variadic data size supported by - the library.
+ macro defines the maximum variadic data + size supported by the library.

Usage

BOOST_PP_LIMIT_VARIADIC

Remarks

-
This macro expands by default to 64. The end-user can - change this to 128 or 256 by defining this macro to either value - before including any library headers. This value can never be less - than the value of BOOST_PP_LIMIT_TUPLE.
+
This macro expands by default to 64. For a C++ standard + conforming preprocessor, the end-user can change this to 128 or + 256 by defining this macro to either value before including any + library headers. This value can never be less than the value of BOOST_PP_LIMIT_TUPLE.

Requirements

+ See also
+
+ +

-
© Copyright Edward Diener - 2011
+
© 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)

+ 1.0. (See accompanying file LICENSE_1_0.txt or + copy at www.boost.org/LICENSE_1_0.txt)

diff --git a/doc/topics/limitations.html b/doc/topics/limitations.html index 6532539..d9b0173 100644 --- a/doc/topics/limitations.html +++ b/doc/topics/limitations.html @@ -44,8 +44,9 @@

This situation has now changed and a number of the limitation macros specified in config/limits.hpp are now used internally in - the library code. This topic is therefore about how an end-user - can change the limitations of the library.
+ the library code when the preprocessor is C++ standard + conforming. This topic is therefore about how an end-user can + change the limitations of the library.

Type of limitations

@@ -153,7 +154,9 @@ standard conforming preprocessor. If you change a limitation for a compiler that is not a C++ standard conforming preprocessor the change is simply ignored and no preprocessor - error will occur.
+ error will occur. This is because any non-conforming + preprocessor does not actually include or use the macros in + the config/limits.hpp file.
  • WARNING ! WARNING ! WARNING ! Increasing limitations may mean that preprocessors may fail because the compiler itself @@ -252,6 +255,40 @@ original  maximum.

    +

    Testing limitations

    +
    +

    The default testing of the preprocessor library, using Boost + Build's b2 command in the preprocessor test directory, only + tests the default limitations. If you want to test, within the + test directory, any of the non-default limitations which may be + set, you can do so by invoking the b2 command with any of these + explicit targets:
    +

    +
      +
    • preprocessor_128 : arrays, tuples, and variadics with up to + 128 elements
    • +
    • preprocessor_256 : arrays, tuples, and variadics with up to + 256 elements
    • +
    • preprocessor_512 : numbers, lists, seqs, looping, and + iteration constructs with 512 maximum
    • +
    • preprocessor_1024 : numbers, lists, seqs, looping, and + iteration constructs with 1024 maximum
    • +
    • preprocessor_tup : both the first and second items in this + list
    • +
    • preprocessor_num : both the third and fourth items in this + list
    • +
    • preprocessor_limits : all preprocessor limitations
    • +
    + If you invoke b2 with the last preprocessor_limits target your + testing may take awhile for your compiler. When you choose one of + the above targets, as in 'b2 preprocessor_limits', + the default tests are not run. If you want the default tests run, + along with any of the targets such as preprocessor_limits, your + command would be 'b2 . preprocessor_limits', where + the '.' notation means all the non-explicit ( aka default ) + targets.
    +
    +