std::chrono::year:: min
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
year::min
|
||||
| Nonmember functions | ||||
| Helper classes | ||||
|
(C++26)
|
|
static
constexpr
std::
chrono
::
year
min
(
)
noexcept
;
|
(desde C++20) | |
Devuelve el menor
year
posible, es decir,
std::
chrono
::
year
(
-
32767
)
.
Valor de retorno
std:: chrono :: year ( - 32767 )
Ejemplo
#include <chrono> #include <iostream> int main() { std::cout << "The minimum year is: " << (int)std::chrono::year::min() << '\n'; }
Salida:
The minimum year is: -32767