]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <html> |
2 | <head> | |
3 | <meta content="text/html; charset=windows-1252" http-equiv="content-type"> | |
4 | <title>BOOST_PP_LIMIT_REPEAT</title> | |
5 | <link rel="stylesheet" type="text/css" href="../styles.css"> | |
6 | </head> | |
7 | <body> | |
8 | <div style="margin-left: 0px;"> The <b>BOOST_PP_LIMIT_REPEAT</b> macro | |
9 | defines the maximum number of repetitions supported by each <b>BOOST_PP_REPEAT</b> | |
10 | dimension. </div> | |
11 | <h4>Usage</h4> | |
12 | <div class="code"> <b>BOOST_PP_LIMIT_REPEAT</b> </div> | |
13 | <h4>Remarks</h4> | |
14 | <div> This macro current expands to <i>256</i>.<br> | |
15 | <br> | |
16 | NOTE: for the current latest versions of Microsoft's VC++ compiler there | |
17 | is a nested macro limit of 256. This means in actuality that the number of | |
18 | repetitions using VC++ is actually less than 256 depending on the | |
19 | repetition macro being used. For the BOOST_PP_REPEAT macro this limit | |
20 | appears to be 252 while for the BOOST_PP_ENUM... series of macros this | |
21 | limit appears to be around 230, before the VC++ compiler gives a "C1009: | |
22 | compiler limit : macros nested too deeply" error. This is a compiler | |
23 | limitation of VC++ which may vary depending on the specific repetition | |
24 | macro being used, and therefore is not a problem the preprocessor library | |
25 | can solve.</div> | |
26 | <h4>Requirements</h4> | |
27 | <div> <b>Header:</b> <a href="../headers/config/limits.html"><boost/preprocessor/config/limits.hpp></a> | |
28 | </div> | |
29 | <hr size="1"> | |
30 |