Searched refs:const_check (Results 1 – 7 of 7) sorted by relevance
333 using fmt::detail::const_check; in TestLength()334 if (const_check(max <= static_cast<unsigned>(max_value<int>()))) { in TestLength()337 } else if (const_check(max <= max_value<unsigned>())) { in TestLength()
254 EXPECT_EQ(fmt::detail::const_check(float_info::max_k), in TEST()259 fmt::detail::const_check(double_info::max_k), in TEST()
828 template <typename T> inline T const_check(T value) { return value; } in const_check() function856 if (const_check(sizeof(long) > sizeof(int))) { in TEST()1009 if (const_check(sizeof(long) > sizeof(int))) { in TEST()1662 if (fmt::detail::const_check(false)) fmt::print(L"test"); in TEST()
75 if (detail::const_check(F::is_signed && !T::is_signed)) { in lossless_integral_conversion()179 if (detail::const_check(Factor::num != 1)) { in safe_duration_cast()194 if (detail::const_check(Factor::den != 1)) count /= Factor::den; in safe_duration_cast()784 if (const_check(Period::den == 1)) return format_to(out, num_f, Period::num);
1900 if (const_check(!is_supported_floating_point(value))) return out;1934 if (const_check(std::is_same<T, float>())) fspecs.binary32 = true;1947 if (const_check(!is_supported_floating_point(value))) return out;2270 if (const_check(is_supported_floating_point(value)))2768 if (const_check(sizeof(Char) != 1)) return 1;3430 if (detail::const_check(FMT_USE_FLOAT))3436 if (detail::const_check(FMT_USE_DOUBLE))3442 if (detail::const_check(FMT_USE_LONG_DOUBLE))
282 template <typename T> constexpr T const_check(T value) { return value; } in const_check() function1744 if (detail::const_check(need_copy<T>::value))1789 if (detail::const_check(need_copy<T>::value)) {
90 if (const_check(sizeof(target_type) <= sizeof(int))) {