Lines Matching refs:is_representable
554 bool is_representable(TimeSpec const& tm) { in is_representable() function
566 static_assert(is_representable({max_seconds, max_nsec}), "");
567 static_assert(!is_representable({max_seconds + 1, 0}), "");
568 static_assert(!is_representable({max_seconds, max_nsec + 1}), "");
569 static_assert(!is_representable({max_time_t, 0}), "");
570 static_assert(is_representable({min_seconds, 0}), "");
571 static_assert(is_representable({min_seconds - 1, min_nsec_timespec}), "");
572 static_assert(is_representable({min_seconds - 1, min_nsec_timespec + 1}), "");
573 static_assert(!is_representable({min_seconds - 1, min_nsec_timespec - 1}), "");
574 static_assert(!is_representable({min_time_t, 999999999}), "");
576 static_assert(is_representable({max_time_t, 999999999}), "");
577 static_assert(is_representable({max_time_t, 1000000000}), "");
578 static_assert(is_representable({min_time_t, 0}), "");
583 bool is_representable(file_time_type const& tm) { in is_representable() function
597 static_assert(is_representable(file_time_type::max()), "");
598 static_assert(is_representable(file_time_type::min()), "");
600 static_assert(!is_representable(file_time_type::max()), "");
601 static_assert(!is_representable(file_time_type::min()), "");
602 static_assert(is_representable(file_time_type(seconds(max_time_t))), "");
603 static_assert(is_representable(file_time_type(seconds(min_time_t))), "");
671 if (!detail::is_representable(ts)) { in __last_write_time()