Skip to content

AUI_PP_HAS_COMMA#

Returns 1 if the expansion of arguments has an unprotected comma.Otherwise returns 0.

Header:#include <AUI/Util/APreprocessor.h>
CMake:aui_link(my_target PUBLIC aui::core)

Definition#

#define AUI_PP_HAS_COMMA(...) \
  AUI_PP_INTERNAL_16TH(       \
      (__VA_ARGS__, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0))

Detailed Description#

Requires no more than 15 unprotected commas.