std::unifor...bution::min(3)
π std::unifor...bution::min(3) π
hiiii bestie!! welcome to the C++ Standard Libary manual β yep, thatβs the manual name, folded right up in here because weβre cute like that. this page is all about std::uniform_int_distribution::min, and she is lowkey iconic.
πΈ NAME πΈ
std::uniform_int_distribution::min β literally std::uniform_int_distribution::min. no cap, thatβs the name.
β¨ Synopsis β¨
result_type min() const; (since C++11)
okay so this is the whole flex: it returns the minimum value potentially generated by the distribution. (since C++11) is part of the vibe, keep it.
π Parameters π
(none)
not a single parameter. zero. nada. she takes nothing, bestie.
π¦ Return value π¦
the minimum value potentially generated by the distribution. thatβs the tea π
π₯ Complexity π₯
Constant.
so like, constant complexity. no messy drama, just straight to the point.
π See also π
maxβ returns the maximum potentially generated value (C++11) (public member function)
mwah π this cutie comes from http://cppreference.com, dated 2024.06.10, and itβs the std::unifor...bution::min(3) page. byeee π«Άβ¨
π¦ 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