cppx-core
meta-macro Directory Reference

Files

file  all.hpp [code]
 
file  macro-apply.hpp [code]
 $apply invokes the specified single-argument macro with each of the specified arguments.
 
file  macro-apply_with_fixed_arg.hpp [code]
 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.
 
file  macro-invoke_macro.hpp [code]
 Mostly this is a concession to the idiosyncracies of Visual C++, which still as of its 2017 version is unable to count __VA_ARGS__ as n arguments, and instead counts it as 1. Mostly. But as David Wheeler remarked, one extra level of indirection is the solution to any computer science problem.
 
file  macro-joined.hpp [code]
 $joined forms the ## concatenation of the expansions of its arguments.
 
file  macro-n_arguments.hpp [code]
 The $n_arguments macro evaluates to the number of arguments that are passed to it.
 
file  macro-repeat.hpp [code]
 $repeat(n, what) produces the what text n times.
 
file  only_lvalue_ref_to.hpp [code]
 Provides the only_lvalue_ref_to helper for restricting macro arguments.