mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-05 08:46:31 +02:00
28 lines
695 B
HTML
28 lines
695 B
HTML
![]() |
<html>
|
||
|
<head>
|
||
|
<title>BOOST_PP_IS_SELFISH</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../styles.css">
|
||
|
|
||
|
</head>
|
||
|
<body>
|
||
|
<div style="margin-left: 0px;">
|
||
|
The <b>BOOST_PP_IS_SELFISH</b> macro is defined when a <i>self-inclusion</i> is in progress.
|
||
|
</div>
|
||
|
<h4>Usage</h4>
|
||
|
<div class="code">
|
||
|
#if !defined(<b>BOOST_PP_IS_SELFISH</b>) // ...
|
||
|
</div>
|
||
|
<h4>Remarks</h4>
|
||
|
<div>
|
||
|
If a <i>self-inclusion</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_SELFISH</b> // ...
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
This macro is defined to guard a file from infinite inclusion.
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|