Enhancing docs

[SVN r12620]
This commit is contained in:
Vesa Karvonen 2002-02-01 11:41:38 +00:00
parent d791b3f756
commit 6fa0d837a3
2 changed files with 16 additions and 2 deletions

View File

@ -56,7 +56,7 @@
# define BOOST_PP_TUPLE_ELEM_DELAY(N,I,T) BOOST_PP_TUPLE##N##_ELEM##I T
#endif
/* NOTE: TUPLE_ELEM can be implemented in O(N*N) space and O(N) time instead
/* TUPLE_ELEM can be implemented in O(N*N) space and O(N) time instead
* of O(N*N*N) space and O(1) time. The current trade-off seems better.
*/
#define BOOST_PP_TUPLE1_ELEM0(A) A

View File

@ -17,9 +17,23 @@
/** <P>Converts a tuple to a list.</P>
<P>For example,</P>
<PRE>
BOOST_PP_TUPLE_TO_LIST(3,(A,B,C))
</PRE>
<P>expands to the same as</P>
<PRE>
BOOST_PP_LIST_CONS(A,
BOOST_PP_LIST_CONS(B,
BOOST_PP_LIST_CONS(C,
BOOST_PP_LIST_NIL)))
</PRE>
<H3>See</H3>
<UL>
<LI>BOOST_PP_LIST_CONS()
<LI>BOOST_PP_LIMIT_TUPLE
</UL>
*/