###  | # Boost.Preprocessor ## Header <boost/preprocessor/tuple/elem.hpp>

Prev Next Macros Headers

### #define BOOST_PP_TUPLE_ELEM(SIZE_OF_TUPLE,INDEX,TUPLE)

Expands to the `INDEX`:th element of an `SIZE_OF_TUPLE`-tuple.

For example,

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

expands to `B`.

### See

- BOOST_PP_LIMIT_TUPLE

Prev Next Macros Headers

Revised

© Copyright Housemarque Oy 2002

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.