Function convert

Synopsis

#include <include/internal/catch_tostring.h>

template <typename U>
static std::string convert(U *p)

Description

No description yet.

Source

Lines 281-288 in include/internal/catch_tostring.h.

template <typename U>
static std::string convert(U* p) {
    if (p) {
        return ::Catch::Detail::rawMemoryToString(p);
    } else {
        return "nullptr";
    }
}





Add Discussion as Guest

Log in