std::chrono::operator==,!=,<,<=,>,>=(std::chrono::leap) (3) - Linux Man Pages

std::chrono::operator==,!=,<,<=,>,>=(std::chrono::leap): std::chrono::operator==,!=,<,<=,>,>=(std::chrono::leap)

NAME

std::chrono::operator==,!=,<,<=,>,>=(std::chrono::leap) - std::chrono::operator==,!=,<,<=,>,>=(std::chrono::leap)

Synopsis


constexpr bool operator==(const std::chrono::leap& x, const std::chrono::leap& y) noexcept; (1) (since C++20)
constexpr bool operator!=(const std::chrono::leap& x, const std::chrono::leap& y) noexcept; (2) (since C++20)
constexpr bool operator< (const std::chrono::leap& x, const std::chrono::leap& y) noexcept; (3) (since C++20)
constexpr bool operator> (const std::chrono::leap& x, const std::chrono::leap& y) noexcept; (4) (since C++20)
constexpr bool operator<=(const std::chrono::leap& x, const std::chrono::leap& y) noexcept; (5) (since C++20)
constexpr bool operator>=(const std::chrono::leap& x, const std::chrono::leap& y) noexcept; (6) (since C++20)
template< class Duration >
constexpr bool operator==(const std::chrono::leap& x, (7) (since C++20)
const std::chrono::sys_time<Duration>& y) noexcept;
template< class Duration >
constexpr bool operator==(const std::chrono::sys_time<Duration>& x, (8) (since C++20)
const std::chrono::leap& y) noexcept;
template< class Duration >
constexpr bool operator!=(const std::chrono::leap& x, (9) (since C++20)
const std::chrono::sys_time<Duration>& y) noexcept;
template< class Duration >
constexpr bool operator!=(const std::chrono::sys_time<Duration>& x, (10) (since C++20)
const std::chrono::leap& y) noexcept;
template< class Duration >
constexpr bool operator< (const std::chrono::leap& x, (11) (since C++20)
const std::chrono::sys_time<Duration>& y) noexcept;
template< class Duration >
constexpr bool operator< (const std::chrono::sys_time<Duration>& x, (12) (since C++20)
const std::chrono::leap& y) noexcept;
template< class Duration >
constexpr bool operator> (const std::chrono::leap& x, (13) (since C++20)
const std::chrono::sys_time<Duration>& y) noexcept;
template< class Duration >
constexpr bool operator> (const std::chrono::sys_time<Duration>& x, (14) (since C++20)
const std::chrono::leap& y) noexcept;
template< class Duration >
constexpr bool operator<=(const std::chrono::leap& x, (15) (since C++20)
const std::chrono::sys_time<Duration>& y) noexcept;
template< class Duration >
constexpr bool operator<=(const std::chrono::sys_time<Duration>& x, (16) (since C++20)
const std::chrono::leap& y) noexcept;
template< class Duration >
constexpr bool operator>=(const std::chrono::leap& x, (17) (since C++20)
const std::chrono::sys_time<Duration>& y) noexcept;
template< class Duration >
constexpr bool operator>=(const std::chrono::sys_time<Duration>& x, (18) (since C++20)
const std::chrono::leap& y) noexcept;


Compares the date and time represented by the objects x and y.

Return value


1) x.date() == y.date()
2) x.date() != y.date()
3) x.date() < y.date()
4) x.date() > y.date()
5) x.date() <= y.date()
6) x.date() >= y.date()
7) x.date() == y
8) x == y.date()
9) x.date() != y
10) x != y.date()
11) x.date() < y
12) x < y.date()
13) x.date() > y
14) x > y.date()
15) x.date() <= y
16) x <= y.date()
17) x.date() >= y
18) x >= y.date()