1<html> 2 <head> 3 <title>BOOST_PP_SEQ_HEAD</title> 4 <link rel="stylesheet" type="text/css" href="../styles.css"> 5 </head> 6 <body> 7 <div style="margin-left: 0px;"> 8 The <b>BOOST_PP_SEQ_HEAD</b> macro expands to the first element in a <i>seq</i>. 9 </div> 10 <h4> 11 Usage 12 </h4> 13 <div class="code"> 14 <b>BOOST_PP_SEQ_HEAD</b>(<i>seq</i>) 15 </div> 16 <h4> 17 Arguments 18 </h4> 19 <dl> 20 <dt>seq</dt> 21 <dd> 22 The <i>seq</i> from which the first element is extracted. 23 </dd> 24 </dl> 25 <h4> 26 See Also 27 </h4> 28 <ul> 29 <li> 30 <a href="seq_tail.html">BOOST_PP_SEQ_TAIL</a></li> 31 </ul> 32 <h4> 33 Requirements 34 </h4> 35 <div> 36 <b>Header:</b> <a href="../headers/seq/seq.html"><boost/preprocessor/seq/seq.hpp></a> 37 </div> 38 <h4> 39 Sample Code 40 </h4> 41 <div> 42 <pre> 43#include <<a href="../headers/seq/seq.html">boost/preprocessor/seq/seq.hpp</a>> 44 45#define SEQ (a)(b)(c) 46 47<a href="seq_head.html">BOOST_PP_SEQ_HEAD</a>(SEQ) // expands to a 48<a href="seq_tail.html">BOOST_PP_SEQ_TAIL</a>(SEQ) // expands to (b)(c) 49</pre> 50 </div> 51 <hr size="1"> 52 <div style="margin-left: 0px;"> 53 <i>� Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i> 54 </br><i>� Copyright Paul Mensonides 2002</i> 55 </div> 56 <div style="margin-left: 0px;"> 57 <p><small>Distributed under the Boost Software License, Version 1.0. (See 58 accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or 59 copy at <a href= 60 "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> 61 </div> 62 </body> 63</html> 64