3#ifndef TETL_CHRONO_MONTH_WEEKDAY_HPP
4#define TETL_CHRONO_MONTH_WEEKDAY_HPP
27 return lhs.month() == rhs.month() and lhs.weekday_indexed() == rhs.weekday_indexed();
42 return {
month(
static_cast<unsigned>(m)), wdi};
52 return {
month(
static_cast<unsigned>(m)), wdi};
constexpr auto operator/(duration< Rep1, Period1 > const &lhs, duration< Rep2, Period2 > const &rhs) -> common_type_t< Rep1, Rep2 >
Performs basic arithmetic operations between two durations or between a duration and a tick count.
Definition duration.hpp:272
Definition month_weekday.hpp:12
constexpr auto ok() const noexcept -> bool
Definition month_weekday.hpp:23
constexpr month_weekday(chrono::month const &m, chrono::weekday_indexed const &wdi) noexcept
Definition month_weekday.hpp:13
constexpr auto weekday_indexed() const noexcept -> chrono::weekday_indexed
Definition month_weekday.hpp:21
constexpr auto month() const noexcept -> chrono::month
Definition month_weekday.hpp:19
friend constexpr auto operator==(month_weekday const &lhs, month_weekday const &rhs) noexcept -> bool
Definition month_weekday.hpp:25
The class month represents a month in a year.
Definition month.hpp:21
Definition weekday_indexed.hpp:11