MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / check_sign

Method check_sign

extlibs/fmt/include/fmt/format.h:2120–2126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2118 }
2119
2120 FMT_CONSTEXPR void check_sign() {
2121 require_numeric_argument();
2122 if (is_integral_type(arg_type_) && arg_type_ != type::int_type &&
2123 arg_type_ != type::long_long_type && arg_type_ != type::char_type) {
2124 error_handler_.on_error("format specifier requires signed argument");
2125 }
2126 }
2127
2128 FMT_CONSTEXPR void check_precision() {
2129 if (is_integral_type(arg_type_) || arg_type_ == type::pointer_type)

Callers 4

on_plusMethod · 0.80
on_minusMethod · 0.80
on_spaceMethod · 0.80
vformat_toFunction · 0.80

Calls 2

is_integral_typeFunction · 0.85
on_errorMethod · 0.45

Tested by

no test coverage detected