###

# Boost.Preprocessor

## Reference

Prev Next Macros Headers

# #include <boost/preprocessor/tuple.hpp>

Includes all tuple headers.

A tuple is a fixed size collection of elements.

In the preprocessor library, tuples are represented like macro parameter lists. Thus an element of a tuple can be any sequence of tokens that constitutes a single macro parameter.

Examples of tuples:

      (const, volatile)    // 2-tuple
      (*, /, %)            // 3-tuple
      (1, "2", '3', (4,5)) // 4-tuple

Tuples can be used for representing structured data.

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.