std::seed_seq::size
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody> std::size_t size() const |
(seit C++11) | |
Gibt die Größe des gespeicherten ersten Seed-Sequenz .
Original:
Returns the size of the stored initial seed sequence.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Parameter
(None)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Rückgabewert
Die Größe des privaten Behälter, der Bauzeit bevölkert wurde .
Original:
The size of the private container that was populated at construction time.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Komplexität
Constant time .
Original:
Constant time.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Beispiel
#include <random>
#include <iostream>
int main()
{
std::seed_seq s1 = {-1, 0, 1};
std::cout << s1.size() << '\n';
}
Output:
3