diff --git a/date.html b/date.html index 01e1517..92d7408 100644 --- a/date.html +++ b/date.html @@ -2492,6 +2492,9 @@ public: year& operator+=(const years& y) noexcept; year& operator-=(const years& y) noexcept; + constexpr year operator-() const noexcept; + constexpr year operator+() const noexcept; + constexpr bool is_leap() const noexcept; constexpr explicit operator int() const noexcept; @@ -2634,6 +2637,26 @@ year& year::operator-=(const years& y) noexcept;
++constepxr year year::operator-() const noexcept; ++ +
++ ++Returns:
+year{-y_}
. +
+constepxr year year::operator+() const noexcept; ++ +
+++Returns:
+*this
. +
constexpr bool year::is_leap() const noexcept;