tetl 0.1.0
Embedded Template Library
|
#include <year_month.hpp>
Public Member Functions | |
year_month ()=default | |
constexpr | year_month (chrono::year const &y, chrono::month const &m) noexcept |
constexpr auto | month () const noexcept -> chrono::month |
constexpr auto | ok () const noexcept -> bool |
constexpr auto | operator+= (months const &dm) noexcept -> year_month & |
constexpr auto | operator+= (years const &dy) noexcept -> year_month & |
constexpr auto | operator-= (months const &dm) noexcept -> year_month & |
constexpr auto | operator-= (years const &dy) noexcept -> year_month & |
constexpr auto | year () const noexcept -> chrono::year |
Friends | |
constexpr auto | operator== (year_month const &lhs, year_month const &rhs) noexcept -> bool |
|
default |
|
inlineconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
friend |