Function convert

Synopsis

#include <include/internal/catch_tostring.h>

static std::string convert(wchar_t *str)

Description

No description yet.

Source

Lines 162-168 in include/internal/catch_tostring.cpp. Line 188 in include/internal/catch_tostring.h.

std::string StringMaker<wchar_t *>::convert(wchar_t * str) {
    if (str) {
        return ::Catch::Detail::stringify(std::wstring{ str });
    } else {
        return{ "{null string}" };
    }
}





Add Discussion as Guest

Log in