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

Method operator()

extlibs/fmt/include/fmt/format.h:2038–2041  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2036
2037 template <typename T, FMT_ENABLE_IF(is_integer<T>::value)>
2038 FMT_CONSTEXPR unsigned long long operator()(T value) {
2039 if (is_negative(value)) handler_.on_error("negative width");
2040 return static_cast<unsigned long long>(value);
2041 }
2042
2043 template <typename T, FMT_ENABLE_IF(!is_integer<T>::value)>
2044 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