30 Time library [time]

30.8 The civil calendar [time.cal]

30.8.8 Class weekday_last [time.cal.wdlast]

30.8.8.2 Member functions [time.cal.wdlast.members]

constexpr explicit weekday_last(const chrono::weekday& wd) noexcept;
Effects: Initializes wd_ with wd.
constexpr chrono::weekday weekday() const noexcept;
Returns: wd_.
constexpr bool ok() const noexcept;
Returns: wd_.ok().