Clang warns that passing a non-POD to a C-style variadic function will result in an abort(). That happens to be exactly what we want, but to silence the warning, use a template instead. Since templates aren't allowed in local classes, move the containing class to namespace scope.
22 KiB
22 KiB