2002-01-31 15:36:01 +00:00
|
|
|
<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/to_list.hpp">boost/preprocessor/tuple/to_list.hpp</a>></H1>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<H2><a name="BOOST_PP_TUPLE_TO_LIST">#define BOOST_PP_TUPLE_TO_LIST</a>(N,T)</H2>
|
|
|
|
<P>Converts a tuple to a list.</P>
|
|
|
|
|
2002-01-31 21:52:46 +00:00
|
|
|
<P>For example,</P>
|
|
|
|
|
|
|
|
<PRE>
|
|
|
|
<a href="tuple_to_list.htm#BOOST_PP_TUPLE_TO_LIST">BOOST_PP_TUPLE_TO_LIST</a>(3,(A,B,C))
|
|
|
|
</PRE>
|
|
|
|
|
|
|
|
<P>expands to the same as</P>
|
|
|
|
|
|
|
|
<PRE>
|
|
|
|
<a href="list_adt.htm#BOOST_PP_LIST_CONS">BOOST_PP_LIST_CONS</a>(A,
|
|
|
|
<a href="list_adt.htm#BOOST_PP_LIST_CONS">BOOST_PP_LIST_CONS</a>(B,
|
|
|
|
<a href="list_adt.htm#BOOST_PP_LIST_CONS">BOOST_PP_LIST_CONS</a>(C,
|
|
|
|
<a href="list_adt.htm#BOOST_PP_LIST_NIL">BOOST_PP_LIST_NIL</a>)))
|
|
|
|
</PRE>
|
|
|
|
|
2002-01-31 15:36:01 +00:00
|
|
|
<H3>See</H3>
|
|
|
|
<UL>
|
|
|
|
<LI><a href="limits.htm#BOOST_PP_LIMIT_TUPLE">BOOST_PP_LIMIT_TUPLE</a>
|
|
|
|
</UL>
|
|
|
|
|
|
|
|
<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>
|