Lumiera
0.pre.03
»edit your freedom«
|
Errors in variadic template instantiations are sometimes hard to spot, due to the intricacies of template argument matching and the reference collapsing rules. Our diagnostics facility is itself a variadic function template, which, when supplied with an argument pack, will build a diagnostic string describing the arguments.
Definition at line 99 of file test-helper-variadic-test.cpp.
Private Member Functions | |
template<typename... ARGS> | |
void | forwardFunction (string id, ARGS &&... args) |
this dummy simulates a typical variadic call which takes all arguments as '&&' for the purpose of "perfect forwarding" | |
virtual void | run (Arg) |