c++boost.gif (8819 bytes)
Main Page   File List   File Members  

limits.hpp File Reference


Defines

#define BOOST_PP_LIMIT_DIM
 Expands to the number of dimensions of repeat supported by the library. More...

#define BOOST_PP_LIMIT_MAG
 Expands to the maximum straight numeric literal supported by the library. More...

#define BOOST_PP_LIMIT_TUPLE
 Expands to the maximum tuple length supported by the library. More...

#define BOOST_PREPROCESSOR_LIMIT_DIM
 Obsolete. Use BOOST_PP_LIMIT_DIM. More...

#define BOOST_PREPROCESSOR_LIMIT_MAG
 Obsolete. Use BOOST_PP_LIMIT_MAG. More...

#define BOOST_PREPROCESSOR_LIMIT_TUPLE
 Obsolete. Use BOOST_PP_LIMIT_TUPLE. More...


Detailed Description

Click here to see the header.


Define Documentation

#define BOOST_PP_LIMIT_DIM
 

Expands to the number of dimensions of repeat supported by the library.

The repeat macros are named BOOST_PP_REPEAT(), BOOST_PP_REPEAT_2ND(), BOOST_PP_REPEAT_3RD(), ...

#define BOOST_PP_LIMIT_MAG
 

Expands to the maximum straight numeric literal supported by the library.

This is also the limit of the repetition primitives (BOOST_PP_ENUM family and BOOST_PP_REPEAT family).

NOTES:

  • Only decimal integer literals in the range [0,BOOST_PP_LIMIT_MAG] are supported.
  • All arithmetic operations (ADD,SUB,MUL,DIV) use saturation arithmetic.
  • The maximum repetition count supported by the library may not be reached due to compiler limitations.

#define BOOST_PP_LIMIT_TUPLE
 

Expands to the maximum tuple length supported by the library.

#define BOOST_PREPROCESSOR_LIMIT_DIM
 

Obsolete. Use BOOST_PP_LIMIT_DIM.

#define BOOST_PREPROCESSOR_LIMIT_MAG
 

Obsolete. Use BOOST_PP_LIMIT_MAG.

#define BOOST_PREPROCESSOR_LIMIT_TUPLE
 

Obsolete. Use BOOST_PP_LIMIT_TUPLE.


© Copyright Housemarque Oy 2001

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.

Generated: