#include <catch_tostring.h>
|
static std::string | convert (const std::wstring &wstr) |
|
static std::string | convert (const std::wstring &wstr) |
|
Definition at line 1361 of file catch.hpp.
◆ convert() [1/2]
Definition at line 142 of file catch_tostring.cpp.
142 {
144 s.reserve(wstr.size());
145 for (auto c : wstr) {
146 s += (c <= 0xff) ? static_cast<char>(c) :
'?';
147 }
148 return ::Catch::Detail::stringify(
s);
149}
◆ convert() [2/2]
static std::string Catch::StringMaker< std::wstring >::convert |
( |
const std::wstring & | wstr | ) |
|
|
static |
The documentation for this struct was generated from the following files: