W3cubDocs

/C++

std::chrono::year::operator int

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

Returns the year value stored in *this.

Return value

The year value stored in *this.

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