# std::chrono::weekday_last::weekday_last

From cppreference.com
< cpp‎ | chrono‎ | 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 ].

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/chrono/weekday_last/weekday_last&oldid=104792"