std::chrono::duration::min(3)
πΈ NAME πΈ
std::chrono::duration::min - std::chrono::duration::min
okay bestie, you're on the std::chrono::duration::min(3) page in the C++ Standard Libary manual, and the name is literally the name β main character energy, no cap. π
β¨ Synopsis β¨
here's the signature glow-up:
static constexpr duration min(); (until C++20)
static constexpr duration min() noexcept; (since C++20)
This one returns a duration with the lowest possible value. like, the absolute floor of what it can be β not dramatic, just facts. π
If the representation rep of the duration requires some other implementation to return a minimum-length duration, std::chrono::duration_values can be specialized to return the desired value. iykyk β that's the customization hook for when the default minimum isn't serving what you need.
π Parameters π
(none)
literally none. she takes no parameters, she's low-maintenance like that. π«Ά
π₯ Return value π₯
duration(std::chrono::duration_values<rep>::min())
that's the whole return vibe β a duration built from std::chrono::duration_values<rep>::min(). no extra sprinkles, no surprises. β¨
π See also π
zeroβ returns the special duration value zero.[static](public static member function)maxβ returns the special duration value max.[static](public static member function)
mwah π this page is from http://cppreference.com, dated 2024.06.10, for std::chrono::duration::min(3) β go be iconic with your durations, bestie. π
π¦ 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