| 11288 | namespace Catch { |
| 11289 | template <typename T> |
| 11290 | std::string to_string(T const& t) { |
| 11291 | #if defined(CATCH_CONFIG_CPP11_TO_STRING) |
| 11292 | return std::to_string(t); |
| 11293 | #else |
| 11294 | ReusableStringStream rss; |
| 11295 | rss << t; |
| 11296 | return rss.str(); |
| 11297 | #endif |
| 11298 | } |
| 11299 | } // end namespace Catch |
| 11300 | |
| 11301 | // end catch_to_string.hpp |
no test coverage detected