cppx-core
Macros
macro-apply.hpp File Reference

$apply invokes the specified single-argument macro with each of the specified arguments. 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.hpp:

Go to the source code of this file.

Macros

#define apply   CPPX_APPLY
 Real name: $apply (the $ is just removed by Doxygen). More...
 
#define CPPX_APPLY(m, ...)
 Invokes the specified single-argument macro with each of the specified arguments. More...
 

Detailed Description

$apply invokes the specified single-argument macro with each of the specified arguments.

Definition in file macro-apply.hpp.

Macro Definition Documentation

◆ apply

#define apply   CPPX_APPLY

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

Definition at line 11 of file macro-apply.hpp.

◆ CPPX_APPLY

#define CPPX_APPLY (   m,
  ... 
)

Invokes the specified single-argument macro with each of the specified arguments.

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

Definition at line 19 of file macro-apply.hpp.