◆ operator()() [1/2]
| int internal::printf_precision_handler::operator() |
( |
T | value | ) |
|
|
inline |
71173 {
71174 if (!int_checker<std::numeric_limits<T>::is_signed || std::is_same<T, int128_t>::value>::fits_in_int(value))
71175 FMT_THROW(duckdb::InvalidInputException("number is too big"));
71176 return (std::max)(static_cast<int>(value), 0);
71177 }
◆ operator()() [2/2]
| int internal::printf_precision_handler::operator() |
( |
T | | ) |
|
|
inline |
71180 {
71181 FMT_THROW(duckdb::InvalidInputException("precision is not integer"));
71182 return 0;
71183 }
The documentation for this class was generated from the following file: