hpx/preprocessor/expand.hpp#

Defined in header hpx/preprocessor/expand.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

Defines

HPX_PP_EXPAND(X)#

The HPX_PP_EXPAND macro performs a double macro-expansion on its argument.

This macro can be used to produce a delayed preprocessor expansion.

Example:

#define MACRO(a, b, c) (a)(b)(c)
#define ARGS() (1, 2, 3)

HPX_PP_EXPAND(MACRO ARGS()) // expands to (1)(2)(3)

Parameters
  • X – Token to be expanded twice