Function convert

Synopsis

#include <include/internal/catch_tostring.h>

static std::string convert(unsigned long long value)

Description

No description yet.

Source

Lines 199-206 in include/internal/catch_tostring.cpp. Line 241 in include/internal/catch_tostring.h.

std::string StringMaker<unsigned long long>::convert(unsigned long long value) {
    ReusableStringStream rss;
    rss << value;
    if (value > Detail::hexThreshold) {
        rss << " (0x" << std::hex << value << ')';
    }
    return rss.str();
}





Add Discussion as Guest

Log in