FreeBSD Manual Pages
std::seed_seq::size(3) C++ Standard Libary std::seed_seq::size(3) NAME std::seed_seq::size - std::seed_seq::size Synopsis std::size_t size() const noexcept; (since C++11) Returns the size of the stored initial seed sequence. Parameters (none) Return value The size of the private container that was populated at construction time. Complexity Constant time. Example // Run this code #include <random> #include <iostream> int main() { std::seed_seq s1 = {-1, 0, 1}; std::cout << s1.size() << '\n'; } Output: 3 Defect report The following behavior-changing defect reports were applied retroac- tively to previously published C++ standards. DR Applied to Behavior as published Correct behavior LWG 2440 C++11 seed_seq::size was not required to be noexcept required http://cppreference.com 2022.07.31 std::seed_seq::size(3)
NAME | Synopsis | Parameters | Return value | Complexity | Example | Output:
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::seed_seq::size&sektion=3&manpath=FreeBSD+Ports+15.0>
