2002-01-31 15:36:01 +00:00
< HTML > < HEAD > < TITLE > Boost PREPROCESSOR library< / TITLE > < BODY bgcolor = "#FFFFFF" >
< a href = "index.htm" > < IMG height = 86 alt = "c++boost.gif (8819 bytes)" src = "../../../../c++boost.gif" width = 277 align = center > < / a >
< hr >
< H1 > #include < < a href = "../../../../boost/preprocessor/limits.hpp" > boost/preprocessor/limits.hpp< / a > > < / H1 >
< hr >
< H2 > < a name = "BOOST_PP_LIMIT_DIM" > #define BOOST_PP_LIMIT_DIM< / a > < / H2 >
< P > Expands to the number of dimensions of repeat supported by the
library.< / P >
< P > The repeat macros are named < a href = "repeat.htm#BOOST_PP_REPEAT" > BOOST_PP_REPEAT< / a > (), < a href = "repeat_2nd.htm#BOOST_PP_REPEAT_2ND" > BOOST_PP_REPEAT_2ND< / a > (),
< a href = "repeat_3rd.htm#BOOST_PP_REPEAT_3RD" > BOOST_PP_REPEAT_3RD< / a > (), ...< / P >
< hr >
< H2 > < a name = "BOOST_PP_LIMIT_MAG" > #define BOOST_PP_LIMIT_MAG< / a > < / H2 >
< P > Expands to the maximum straight numeric literal supported by the
library.< / P >
< P > This is also the limit of the repetition primitives (< a href = "enum.htm#BOOST_PP_ENUM" > BOOST_PP_ENUM< / a > family
and < a href = "repeat.htm#BOOST_PP_REPEAT" > BOOST_PP_REPEAT< / a > family).< / P >
2002-01-31 21:52:46 +00:00
< H3 > Note< / H3 >
2002-01-31 15:36:01 +00:00
< UL >
< LI > Only decimal integer literals in the range [0,< a href = "limits.htm#BOOST_PP_LIMIT_MAG" > BOOST_PP_LIMIT_MAG< / a > ]
are supported.
2002-01-31 21:52:46 +00:00
< LI > All arithmetic operations (< a href = "arithmetic_add.htm#BOOST_PP_ADD" > BOOST_PP_ADD< / a > (),< a href = "arithmetic_sub.htm#BOOST_PP_SUB" > BOOST_PP_SUB< / a > (),< a href = "arithmetic_mul.htm#BOOST_PP_MUL" > BOOST_PP_MUL< / a > (),
< a href = "arithmetic_div.htm#BOOST_PP_DIV" > BOOST_PP_DIV< / a > (),...) use saturation arithmetic.
2002-01-31 15:36:01 +00:00
< LI > The maximum repetition count supported by the library may not be reached
due to compiler limitations.
< / UL >
< hr >
< H2 > < a name = "BOOST_PP_LIMIT_TUPLE" > #define BOOST_PP_LIMIT_TUPLE< / a > < / H2 >
< P > Expands to the maximum tuple length supported by the library.< / P >
< hr >
< H2 > < a name = "BOOST_PREPROCESSOR_LIMIT_DIM" > #define BOOST_PREPROCESSOR_LIMIT_DIM< / a > < / H2 >
< P > Obsolete. Use < a href = "limits.htm#BOOST_PP_LIMIT_DIM" > BOOST_PP_LIMIT_DIM< / a > .< / P >
< hr >
< H2 > < a name = "BOOST_PREPROCESSOR_LIMIT_MAG" > #define BOOST_PREPROCESSOR_LIMIT_MAG< / a > < / H2 >
< P > Obsolete. Use < a href = "limits.htm#BOOST_PP_LIMIT_MAG" > BOOST_PP_LIMIT_MAG< / a > .< / P >
< hr >
< H2 > < a name = "BOOST_PREPROCESSOR_LIMIT_TUPLE" > #define BOOST_PREPROCESSOR_LIMIT_TUPLE< / a > < / H2 >
< P > Obsolete. Use < a href = "limits.htm#BOOST_PP_LIMIT_TUPLE" > BOOST_PP_LIMIT_TUPLE< / a > .< / P >
< hr >
< p > (C) Copyright Housemarque Oy 2002< / p >
< p > Permission to copy, use, modify, sell and distribute this document is granted
provided this copyright notice appears in all copies. This document is provided
"as is" without express or implied warranty, and with no claim as to its suitability
for any purpose.< / p >
< p > Generated: <!-- webbot bot="Timestamp" s - type="EDITED" s - format="%d %b %Y" startspan --> <!-- webbot bot="Timestamp" endspan i - checksum="15246" --> < / p >
< / BODY > < / HTML >