SysTutorials

Linux Manual Pages › Section 3

stdchronoyearoperatorint(3)

std::chrono::year::operatorint - std::chrono::year::operatorint

Synopsis

explicit constexpr operator int() const noexcept; (since C++20) Returns the year value stored in *this.

Return value

The year value stored in *this.