cppx-core
Macros
macro-apply_with_fixed_arg.hpp File Reference

For each of the max 63 specified second arguments $apply_with_fixed_arg invokes the specified two-argument macro m with the specified fixed first argument a and that second argument. More...

#include <cppx-core/meta-macro/macro-n_arguments.hpp>
#include <cppx-core/meta-macro/macro-invoke_macro.hpp>
#include <cppx-core/meta-macro/macro-joined.hpp>
Include dependency graph for macro-apply_with_fixed_arg.hpp:

Go to the source code of this file.

Macros

#define apply_with_fixed_arg   CPPX_APPLY_WITH_FIXED_ARG
 Real name: $apply_with_fixed_arg (the $ is just removed by Doxygen). More...
 
#define CPPX_APPLY_WITH_FIXED_ARG(m, a, ...)
 For each of the max 63 specified second arguments invokes the specified two-argument macro m with/ the specified fixed first argument a and that second argument. More...
 

Detailed Description

For each of the max 63 specified second arguments $apply_with_fixed_arg invokes the specified two-argument macro m with the specified fixed first argument a and that second argument.

Definition in file macro-apply_with_fixed_arg.hpp.

Macro Definition Documentation

◆ apply_with_fixed_arg

#define apply_with_fixed_arg   CPPX_APPLY_WITH_FIXED_ARG

Real name: $apply_with_fixed_arg (the $ is just removed by Doxygen).

Definition at line 12 of file macro-apply_with_fixed_arg.hpp.

◆ CPPX_APPLY_WITH_FIXED_ARG

#define CPPX_APPLY_WITH_FIXED_ARG (   m,
  a,
  ... 
)

For each of the max 63 specified second arguments invokes the specified two-argument macro m with/ the specified fixed first argument a and that second argument.

Parameters
mThe name of a single-argument macro.
aA fixed first argument.
...One or more (max 63) second arguments that m should be called with.

Definition at line 24 of file macro-apply_with_fixed_arg.hpp.