BOOST_PP_TUPLE_TO_LIST マクロは タプル を リスト に変換する。
Usage
BOOST_PP_TUPLE_TO_LIST(size, tuple)
Arguments
-
size: 変換される タプル の大きさ。 有効な タプル の大きさの範囲は0からBOOST_PP_LIMIT_TUPLEまでである。 -
tuple: 変換される タプル 。
Remarks
size 引数は タプル の実際の大きさでなければならない。
See Also
Requirements
Header: <boost/preprocessor/tuple/to_list.hpp>
Sample Code
#include <boost/preprocessor/tuple/to_list.hpp>
BOOST_PP_TUPLE_TO_LIST(3, (x, y, z))
// expands to (x, (y, (z, BOOST_PP_NIL)))