Files
boost_preprocessor/doc/ref/set_size.html

35 lines
838 B
HTML
Raw Normal View History

2002-10-13 05:47:23 +00:00
<html>
<head>
<title>BOOST_PP_SET_SIZE</title>
<link rel="stylesheet" type="text/css" href="../styles.css">
</head>
<body>
<div style="margin-left: 0px;">
The <b>BOOST_PP_SET_SIZE</b> macro expands to the size of a <i>set</i>.
</div>
<h4>Usage</h4>
<div class="code">
<b>BOOST_PP_SET_SIZE</b>(<i>set</i>)
</div>
<h4>Arguments</h4>
<dl>
<dt>set</dt>
<dd>
The <i>set</i> whose size is to be calculated.
</dd>
</dl>
<h4>Requirements</h4>
<div>
<b>Header:</b> &nbsp;<a href="../headers/set/size.hpp.html">&lt;boost/preprocessor/set/size.hpp&gt;</a>
</div>
<h4>Sample Code</h4>
<div><pre>
#include &lt;<a href="../headers/set/size.hpp.html">boost/preprocessor/set/size.hpp</a>&gt;
#define SET (a)(b)(c)
<a href="set_size.html">BOOST_PP_SET_SIZE</a>(SET) // expands to 3
</pre></div>
</body>
</html>