forked from boostorg/preprocessor
initial checkin
[SVN r11780]
This commit is contained in:
36
include/boost/preprocessor/limits.hpp
Normal file
36
include/boost/preprocessor/limits.hpp
Normal file
@ -0,0 +1,36 @@
|
||||
#ifndef BOOST_PREPROCESSOR_LIMITS_HPP
|
||||
#define BOOST_PREPROCESSOR_LIMITS_HPP
|
||||
|
||||
// Copyright (C) 2001
|
||||
// Housemarque, Inc.
|
||||
// http://www.housemarque.com
|
||||
//
|
||||
// Permission to copy, use, modify, sell and distribute this software is
|
||||
// granted provided this copyright notice appears in all copies. This
|
||||
// software is provided "as is" without express or implied warranty, and
|
||||
// with no claim as to its suitability for any purpose.
|
||||
|
||||
// See http://www.boost.org for most recent version.
|
||||
|
||||
/*! \file
|
||||
|
||||
<a href="../../../../boost/preprocessor/limits.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
//! Expands to the number of dimensions of repeat supported by the library.
|
||||
#define BOOST_PREPROCESSOR_LIMIT_DIM 3
|
||||
|
||||
//! Expands to the maximum straight numeric literal supported by the library.
|
||||
/*!
|
||||
NOTES:
|
||||
- Only decimal integer literals in the range [0,BOOST_PREPROCESSOR_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_PREPROCESSOR_LIMIT_MAG 128
|
||||
|
||||
//! Expands to the maximum tuple length supported by the library.
|
||||
#define BOOST_PREPROCESSOR_LIMIT_TUPLE 8
|
||||
#endif
|
Reference in New Issue
Block a user