C++ Boost

Boost.Preprocessor

Reference


Prev Next Macros Headers

#include <boost/preprocessor/list/append.hpp>


#define BOOST_PP_LIST_APPEND(LIST_1ST,LIST_2ND)

Catenates two lists together.

For example,

  BOOST_PP_LIST_APPEND
  ( BOOST_PP_TUPLE_TO_LIST(2,(1,2))
  , BOOST_PP_TUPLE_TO_LIST(2,(3,4))
  )

expands to the same as:

  BOOST_PP_TUPLE_TO_LIST(4,(1,2,3,4))

Uses

Test


#define BOOST_PP_LIST_APPEND_D(D,LIST_1ST,LIST_2ND)

Can be used inside BOOST_PP_WHILE().


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.