Struct StringMaker< R C::* >

Synopsis

#include <include/internal/catch_tostring.h>

template <typename R, typename C>
struct StringMaker<R C::*>

Description

No description yet.

Methods

convert

Source

Lines 291-300 in include/internal/catch_tostring.h.

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





Add Discussion as Guest

Log in