#include <boost/preprocessor/tuple/replace.hpp> #define TUPLE (a, x, c) BOOST_PP_TUPLE_REPLACE(TUPLE, 1, b) // expands to (a, b, c))
依据 Boost 软件许可证版本 1.0 分发。(请参阅随附文件 LICENSE_1_0.txt 或在 www.boost.org/LICENSE_1_0.txt 中查看副本)