Namespaces
Variants

std::chrono::year:: min

From cppreference.net
static constexpr std:: chrono :: year min ( ) noexcept ;
(начиная с C++20)

Возвращает наименьший возможный year , то есть std:: chrono :: year ( - 32767 ) .

Возвращаемое значение

std:: chrono :: year ( - 32767 )

Пример

#include <chrono>
#include <iostream>
int main()
{
    std::cout << "The minimum year is: " << (int)std::chrono::year::min() << '\n';
}

Вывод:

The minimum year is: -32767