forked from boostorg/preprocessor
initial revision
[SVN r15198]
This commit is contained in:
27
docs.1/ref/is_iterating.html
Normal file
27
docs.1/ref/is_iterating.html
Normal file
@ -0,0 +1,27 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>BOOST_PP_IS_ITERATING</title>
|
||||
<link rel="stylesheet" type="text/css" href="../styles.css">
|
||||
<script language="javascript" type="text/javascript" src="../scripts.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div style="margin-left: 0px;">
|
||||
The <b>BOOST_PP_IS_ITERATING</b> macro is defined when a <i>file-iteration</i> is in progress.
|
||||
</div>
|
||||
<h4>Usage</h4>
|
||||
<div class="code">
|
||||
#if !defined(<b>BOOST_PP_IS_ITERATING</b>) // ...
|
||||
</div>
|
||||
<h4>Remarks</h4>
|
||||
<div>
|
||||
If a <i>file-iteration</i> is in progress, this macro is defined as <i>1</i>.
|
||||
This means that the following will also work:
|
||||
<div>
|
||||
#if !<b>BOOST_PP_IS_ITERATING</b> // ...
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
This macro is defined to guard a file from infinite inclusion.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user