cppx-core
Macros
macro-repeat.hpp File Reference

$repeat(n, what) produces the what text n times. 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-repeat.hpp:

Go to the source code of this file.

Macros

#define repeat   CPPX_REPEAT
 Real name: $repeat (the $ is just removed by Doxygen). More...
 
#define CPPX_REPEAT(n, what)
 CPPX_REPEAT(n, what) produces the what text n times. More...
 

Detailed Description

$repeat(n, what) produces the what text n times.

Definition in file macro-repeat.hpp.

Macro Definition Documentation

◆ CPPX_REPEAT

#define CPPX_REPEAT (   n,
  what 
)

CPPX_REPEAT(n, what) produces the what text n times.

Parameters
nThe number of times (minimum 1) to produce the what text.
whatThe text to produce repeatedly.

Definition at line 20 of file macro-repeat.hpp.

◆ repeat

#define repeat   CPPX_REPEAT

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

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