| 9300 | namespace Catch { |
| 9301 | template <typename T> |
| 9302 | std::string to_string(T const& t) { |
| 9303 | #if defined(CATCH_CONFIG_CPP11_TO_STRING) |
| 9304 | return std::to_string(t); |
| 9305 | #else |
| 9306 | ReusableStringStream rss; |
| 9307 | rss << t; |
| 9308 | return rss.str(); |
| 9309 | #endif |
| 9310 | } |
| 9311 | } // end namespace Catch |
| 9312 | |
| 9313 | // end catch_to_string.hpp |
no test coverage detected