c++boost.gif (8819 bytes)
Main Page   File List   File Members  

elem.hpp File Reference

Click here to see the header.. More...


Defines

#define BOOST_PP_TUPLE_ELEM(N, I, T)
 Expands to the I:th element of an N-tuple. More...

#define BOOST_PREPROCESSOR_TUPLE_ELEM(N, I, T)
 Obsolete. More...


Detailed Description

Click here to see the header..


Define Documentation

#define BOOST_PP_TUPLE_ELEM N,
I,
 
 

Expands to the I:th element of an N-tuple.

For example,

  BOOST_PP_TUPLE_ELEM(2,1,(A,B))

expands to B.

Tuples can be used for representing structured data.

Examples of tuples:

  2-tuple: (A, B)
  3-tuple: (1, 2, 3)
  4-tuple: (A B C, D, EF, 34)

See BOOST_PP_LIMIT_TUPLE.

#define BOOST_PREPROCESSOR_TUPLE_ELEM N,
I,
 
 

Obsolete.

Use BOOST_PP_TUPLE_ELEM().


© Copyright Housemarque Oy 2001

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.

Generated: