| 11461 | namespace Catch { |
| 11462 | template <typename T> |
| 11463 | std::string to_string(T const& t) { |
| 11464 | #if defined(CATCH_CONFIG_CPP11_TO_STRING) |
| 11465 | return std::to_string(t); |
| 11466 | #else |
| 11467 | ReusableStringStream rss; |
| 11468 | rss << t; |
| 11469 | return rss.str(); |
| 11470 | #endif |
| 11471 | } |
| 11472 | } // end namespace Catch |
| 11473 | |
| 11474 | // end catch_to_string.hpp |
no test coverage detected