Files
preprocessor/doc/ref/seq_subseq.html
Paul Mensonides b71f390686 headers/xxx.hpp.html >> headers/xxx.html
[SVN r25656]
2004-10-11 06:58:45 +00:00

59 lines
1.2 KiB
HTML

<html>
<head>
<title>BOOST_PP_SEQ_SUBSEQ</title>
<link rel="stylesheet" type="text/css" href="../styles.css">
</head>
<body>
<div style="margin-left: 0px;">
The <b>BOOST_PP_SEQ_SUBSEQ</b> macro expands to a subseq of elements in a <i>seq</i>.
</div>
<h4>
Usage
</h4>
<div class="code">
<b>BOOST_PP_SEQ_SUBSEQ</b>(<i>seq</i>, <i>i</i>, <i>len</i>)
</div>
<h4>
Arguments
</h4>
<dl>
<dt>seq</dt>
<dd>
The <i>seq</i> whose size is to be calculated.
</dd>
<dt>i</dt>
<dd>
The index of the first element of the subseq to be extracted.
</dd>
<dt>len</dt>
<dd>
The length of the subseq to be extracted.
</dd>
</dl>
<h4>
Remarks
</h4>
<div>
This macro expands to a <i>seq</i> extracted from <i>seq</i>.
</div>
<h4>
Requirements
</h4>
<div>
<b>Header:</b> &nbsp;<a href="../headers/seq/subseq.html">&lt;boost/preprocessor/seq/subseq.hpp&gt;</a>
</div>
<h4>
Sample Code
</h4>
<div>
<pre>
#include &lt;<a href="../headers/seq/subseq.html">boost/preprocessor/seq/subseq.hpp</a>&gt;
#define SEQ (0)(1)(2)(3)(4)(5)
<a href="seq_subseq.html">BOOST_PP_SEQ_SUBSEQ</a>(SEQ, 2, 3) // expands to (2)(3)(4)
</pre>
</div>
</body>
</html>