W3cubDocs

/C++

std::chrono::weekday::operator unsigned

explicit constexpr operator unsigned() const noexcept;
(since C++20)

Returns the weekday value stored in *this.

Return value

The weekday value stored in *this.

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