tetl 0.1.0
Embedded Template Library
|
#include <year.hpp>
Public Member Functions | |
year ()=default | |
constexpr | year (int y) noexcept |
constexpr auto | is_leap () const noexcept -> bool |
constexpr auto | ok () const noexcept -> bool |
constexpr | operator int () const noexcept |
constexpr auto | operator+ () const noexcept -> year |
constexpr auto | operator++ () noexcept -> year & |
constexpr auto | operator++ (int) noexcept -> year |
constexpr auto | operator+= (years const &countS) noexcept -> year & |
constexpr auto | operator- () const noexcept -> year |
constexpr auto | operator-- () noexcept -> year & |
constexpr auto | operator-- (int) noexcept -> year |
constexpr auto | operator-= (years const &countS) noexcept -> year & |
Static Public Member Functions | |
static constexpr auto | max () noexcept -> year |
static constexpr auto | min () noexcept -> year |
Friends | |
constexpr auto | operator< (year lhs, year rhs) noexcept -> bool |
constexpr auto | operator<= (year lhs, year rhs) noexcept -> bool |
constexpr auto | operator== (year lhs, year rhs) noexcept -> bool |
constexpr auto | operator> (year lhs, year rhs) noexcept -> bool |
constexpr auto | operator>= (year lhs, year rhs) noexcept -> bool |
|
default |