std::chrono..._values::max(3)
π
std::chrono..._values::max(3) π
okay so we're in the C++ Standard Libary manual, section 3, and this page is about the absolute maximum vibe of std::chrono::duration_values::max. no cap, it's giving "largest possible representation" energy. β¨
πΈ NAME πΈ
std::chrono::duration_values::max β std::chrono::duration_values::max
literally the same on both sides, iykyk π
β¨ Synopsis β¨
two overloads, bestie:
static constexpr Rep max(); (since C++11)
(until C++20)
static constexpr Rep max() noexcept; (since C++20)
timeline check π°οΈ: first form is (since C++11) and (until C++20), second form is (since C++20).
Returns the largest possible representation. slay π
π Parameters π
(none)
literally none, bestie. no arguments, no stress. π«Ά
π¦ Return value π¦
std::numeric_limits<Rep>::max()
that's it. that's the return value. iconic π
π See also π
maxβ returns the special duration valuemax;[static](public static member function ofstd::chrono::duration<Rep,Period>)zeroβ returns a zero-length representation;[static](public static member function)minβ returns the smallest possible representation;[static](public static member function)
this gem is from http://cppreference.com, dated 2024.06.10, and the page is std::chrono..._values::max(3). mwah ππ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms