mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-02 23:36:54 +02:00
52 lines
1.5 KiB
HTML
52 lines
1.5 KiB
HTML
<HTML><HEAD><TITLE>Boost PREPROCESSOR library</TITLE><BODY bgcolor="#FFFFFF">
|
|
|
|
<a href="index.htm"><IMG height=86 alt="c++boost.gif (8819 bytes)" src="../../../../c++boost.gif" width=277 align=center></a>
|
|
|
|
<hr>
|
|
|
|
<H1>#include <<a href="../../../../boost/preprocessor/tuple/elem.hpp">boost/preprocessor/tuple/elem.hpp</a>></H1>
|
|
|
|
<hr>
|
|
|
|
<H2><a name="BOOST_PP_TUPLE_ELEM">#define BOOST_PP_TUPLE_ELEM</a>(N,I,T)</H2>
|
|
<P>Expands to the I:th element of an N-tuple.</P>
|
|
|
|
<P>For example,</P>
|
|
|
|
<PRE>
|
|
<a href="tuple_elem.htm#BOOST_PP_TUPLE_ELEM">BOOST_PP_TUPLE_ELEM</a>(2,1,(A,B))
|
|
</PRE>
|
|
|
|
<P>expands to B.</P>
|
|
|
|
<P>Tuples can be used for representing structured data.</P>
|
|
|
|
<P>Examples of tuples:</P>
|
|
|
|
<PRE>
|
|
2-tuple: (A, B)
|
|
3-tuple: (1, 2, 3)
|
|
4-tuple: (A B C, D, EF, 34)
|
|
</PRE>
|
|
|
|
<H3>See</H3>
|
|
<UL>
|
|
<LI><a href="limits.htm#BOOST_PP_LIMIT_TUPLE">BOOST_PP_LIMIT_TUPLE</a>
|
|
</UL>
|
|
|
|
<hr>
|
|
|
|
<H2><a name="BOOST_PREPROCESSOR_TUPLE_ELEM">#define BOOST_PREPROCESSOR_TUPLE_ELEM</a>(N,I,T)</H2>
|
|
<P>Obsolete. Use <a href="tuple_elem.htm#BOOST_PP_TUPLE_ELEM">BOOST_PP_TUPLE_ELEM</a>().</P>
|
|
<hr>
|
|
|
|
<p>(C) Copyright Housemarque Oy 2002</p>
|
|
|
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
|
provided this copyright notice appears in all copies. This document is provided
|
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
|
for any purpose.</p>
|
|
|
|
<p>Generated: <!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %b %Y" startspan --><!--webbot bot="Timestamp" endspan i-checksum="15246" --></p>
|
|
|
|
</BODY></HTML> |