BOOST_PP_TUPLE_REVERSE マクロは特定の大きさの タプル を逆に並び替える。
Usage
BOOST_PP_TUPLE_REVERSE(size, tuple)
Arguments
-
size: 並び替えられる タプル の大きさ。 有効な タプル の大きさの範囲は0からBOOST_PP_LIMIT_TUPLEまでである。 -
tuple: 並び替えられる タプル 。
Remarks
size 引数は タプル の実際の大きさでなければならない。
See Also
Requirements
Header: <boost/preprocessor/tuple/reverse.hpp>
Sample Code
#include <boost/preprocessor/tuple/reverse.hpp>
BOOST_PP_TUPLE_REVERSE(3, (x, y, z)) // expands to (z, y, x)