AUI_PP_FOR_EACH#
Expands to _Macro(0, _Data, e1) _Macro(1, _Data, e2) ... _Macro(K -1, _Data, eK) as many of AUI_INTERNAL_NARG0 _Tuple.
| Header: | #include <AUI/Util/APreprocessor.h> |
| CMake: | aui_link(my_target PUBLIC aui::core) |
Definition#
#define AUI_PP_FOR_EACH(_Macro, _Data, _Tuple) \
AUI_PP_CAT(AUI_PP_INTERNAL_FOR_EACH_IMPL_, AUI_PP_NARG0 _Tuple) \
(0, _Macro, _Data, _Tuple)
Detailed Description#
Requires:
- _Macro can be called with 3 arguments.
- _Tuple expansion has no more than 15 elements.