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

to_tuple.hpp File Reference


Defines

#define BOOST_PP_LIST_TO_TUPLE(L)
 Converts the list to a tuple. More...


Detailed Description

Click here to see the header.


Define Documentation

#define BOOST_PP_LIST_TO_TUPLE  
 

Converts the list to a tuple.

For example,

  BOOST_PP_LIST_TO_TUPLE(BOOST_PP_TUPLE_TO_LIST(3,(A,B,C)))

expands to (A,B,C).

NOTE: The supported size of the list being converted to a tuple is limited by BOOST_PP_LIMIT_MAG rather than BOOST_PP_LIMIT_TUPLE.


© 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: