| 23 | inline const char* convertFArg(const std::string& s) {return s.c_str();} |
| 24 | template<typename... Args> |
| 25 | std::string f(Args... args) { |
| 26 | // Allows accessing the original f() above |
| 27 | typedef std::string (*FType)(const char* format, ...); |
| 28 | return FType(f)(convertFArg(args)...); |
| 29 | } |
| 30 | |
| 31 | /** Replaces all characters to lowercase letters */ |
| 32 | std::string lowercase(const std::string& s); |
no test coverage detected