| 225 | #define check(...) check_(__FILE__, __LINE__, __VA_ARGS__) |
| 226 | template<size_t size> |
| 227 | void check_(const char* file, int line, const char (&code)[size], const CheckOptions& options = make_default_obj()) { |
| 228 | const Settings& settings1 = options.s ? *options.s : settings; |
| 229 | check_(file, line, code, settings1, options.cpp); |
| 230 | } |
| 231 | |
| 232 | template<size_t size> |
| 233 | void check_(const char* file, int line, const char (&code)[size], const Settings & s, bool cpp = true) { |
nothing calls this directly
no test coverage detected