mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-16 14:02:17 +02:00
Minor documentation change
[SVN r12397]
This commit is contained in:
@ -21,6 +21,14 @@
|
||||
|
||||
//! Expands to the I:th element of an N-tuple.
|
||||
/*!
|
||||
For example,
|
||||
|
||||
<PRE>\verbatim
|
||||
BOOST_PP_TUPLE_ELEM(2,1,(A,B))
|
||||
\endverbatim</PRE>
|
||||
|
||||
expands to B.
|
||||
|
||||
Tuples can be used for representing structured data.
|
||||
|
||||
Examples of tuples:
|
||||
@ -31,14 +39,6 @@ Examples of tuples:
|
||||
4-tuple: (A B C, D, EF, 34)
|
||||
\endverbatim</PRE>
|
||||
|
||||
Example:
|
||||
|
||||
<PRE>\verbatim
|
||||
BOOST_PP_TUPLE_ELEM(2,1,(A,B))
|
||||
\endverbatim</PRE>
|
||||
|
||||
The above expands to B.
|
||||
|
||||
See also BOOST_PP_LIMIT_TUPLE.
|
||||
*/
|
||||
#define BOOST_PP_TUPLE_ELEM(N,I,T) BOOST_PP_TUPLE_ELEM_DELAY(N,I,T)
|
||||
|
Reference in New Issue
Block a user