std::subtra...::operator()(3)
β¨ NAME β¨
okay so bestie, welcome to the C++ Standard Libary manual β yes, that spelling stays, itβs iconically exact π
β and todayβs main character is std::subtra...::operator()(3).
std::subtract_with_carry_engine::operator() -
std::subtract_with_carry_engine::operator()
πΈ Synopsis πΈ
result_type operator()(); (since C++11)
It generates a pseudo-random value, and the engineβs state is advanced by one position. Lowkey doing exactly what it says on the tin β¨.
π§ This section is incomplete.
π Parameters π
(none) β literally zero params, she takes no arguments and still serves π«Ά.
π Return value π
A pseudo-random number in [min(), max()] π₯.
β‘ Complexity β‘
Amortized constant. Periodt. Efficient queen behavior only π.
π See also π
discardβ advances the engine's state by a specified amount(C++11)(public member function) π¦
ποΈ Category ποΈ
Todo without reasonπ
mwah π β this page came from source/version http://cppreference.com, dated 2024.06.10. Stay random, 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