25 Time library [time]

25.8 The civil calendar [time.cal]

25.8.11 Class month_­weekday [time.cal.mwd]

25.8.11.3 Non-member functions [time.cal.mwd.nonmembers]

constexpr bool operator==(const month_weekday& x, const month_weekday& y) noexcept;
Returns: x.month() == y.month() && x.weekday_­indexed() == y.weekday_­indexed().
template<class charT, class traits> basic_ostream<charT, traits>& operator<<(basic_ostream<charT, traits>& os, const month_weekday& mwd);
Returns: os << mwd.month() << '/' << mwd.weekday_­indexed().