| 12142 | namespace Catch { |
| 12143 | template <typename T> |
| 12144 | std::string to_string(T const& t) { |
| 12145 | #if defined(CATCH_CONFIG_CPP11_TO_STRING) |
| 12146 | return std::to_string(t); |
| 12147 | #else |
| 12148 | ReusableStringStream rss; |
| 12149 | rss << t; |
| 12150 | return rss.str(); |
| 12151 | #endif |
| 12152 | } |
| 12153 | } // end namespace Catch |
| 12154 | |
| 12155 | // end catch_to_string.hpp |
no test coverage detected