std::chrono::weekday_last::weekday_last

explicit constexpr weekday_last(const chrono::weekday& wd) noexcept;
(since C++20)

Constructs a weekday_last object storing the weekday wd.

Notes

A more convenient way to construct a weekday_last is with weekday's operator[], i.e., wd[std::chrono::last].

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/chrono/weekday_last/weekday_last