[time.cal.md.overview] (original) (raw)

30 Time library [time]

30.8 The civil calendar [time.cal]

30.8.9 Class month_day [time.cal.md]

30.8.9.1 Overview [time.cal.md.overview]

namespace std::chrono { class month_day { chrono::month m_; chrono::day d_; public: month_day() = default;constexpr month_day(const chrono::month& m, const chrono::day& d) noexcept;constexpr chrono::month month() const noexcept;constexpr chrono::day day() const noexcept;constexpr bool ok() const noexcept;};}

month_day represents a specific day of a specific month, but with an unspecified year.

month_day is a trivially copyable and standard-layout class type.