MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / operator()

Method operator()

extlibs/fmt/include/fmt/format.h:2058–2061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2056
2057 template <typename T, FMT_ENABLE_IF(is_integer<T>::value)>
2058 FMT_CONSTEXPR unsigned long long operator()(T value) {
2059 if (is_negative(value)) handler_.on_error("negative precision");
2060 return static_cast<unsigned long long>(value);
2061 }
2062
2063 template <typename T, FMT_ENABLE_IF(!is_integer<T>::value)>
2064 FMT_CONSTEXPR unsigned long long operator()(T) {

Callers

nothing calls this directly

Calls 2

is_negativeFunction · 0.85
on_errorMethod · 0.45

Tested by

no test coverage detected