From 96baa5bdd0e7a37051f5312eadde7373fcc62cce Mon Sep 17 00:00:00 2001 From: Octavian-Mihai Matei Date: Mon, 27 Oct 2025 15:08:59 +0100 Subject: [PATCH] Fix printer.process macro to accept multiple values --- exercises/operators/operators.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/operators/operators.cpp b/exercises/operators/operators.cpp index 625c9c25..fa69514f 100644 --- a/exercises/operators/operators.cpp +++ b/exercises/operators/operators.cpp @@ -62,7 +62,7 @@ class TestResultPrinter { // (the what argument) to a pair containing a string representation // of it and the code itself. That way, print is given a string and a // value where the string is the code that lead to the value -#define CHECK(printer,what) printer.process(#what, what) +#define CHECK(printer, ...) printer.process(#__VA_ARGS__, (__VA_ARGS__)) int main() {