Suppose a variadic template:
void f(T value, Args... args)
As one of the arguments a function is passed which returns a value.
Is there a simple way to defer the evaluation of the function, so we can decide inside f() it will be evaluated or not ?
And with a simple way I mean preferably without creating a complex calling syntax.
Aucun commentaire:
Enregistrer un commentaire