C++ Boost

Boost.Preprocessor

Reference


Prev Next Macros Headers

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


#define BOOST_PP_TUPLE_TO_LIST(N,T)

Converts a tuple to a list.

For example,

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

expands to the same as

  BOOST_PP_LIST_CONS(A,
  BOOST_PP_LIST_CONS(B,
  BOOST_PP_LIST_CONS(C,
  BOOST_PP_LIST_NIL)))

See


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.