最終更新日時:
が更新

履歴 編集

BOOST_PP_ARRAY_REVERSE

The BOOST_PP_ARRAY_REVERSE macro reverses the elements in an array.

Usage

BOOST_PP_ARRAY_REVERSE(array)

Arguments

  • array : The array whose elements are to be reversed.

Requirements

Header: <boost/preprocessor/array/reverse.hpp>

Sample Code

#include <boost/preprocessor/array/reverse.hpp>

# define ARRAY (3, (a, b, c))

BOOST_PP_ARRAY_REVERSE(ARRAY) // expands to (3, (c, b, a))