std::chrono::year:: min
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
year::min
|
||||
| Nonmember functions | ||||
| Helper classes | ||||
|
(C++26)
|
|
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