std::seed_seq::param
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. |
template< class OutputIt > void param( OutputIt dest ) const; |
(seit C++11) | |
Gibt das erste Seed-Sequenz, die in der
std::seed_seq
Objekt gespeichert ist .Original:
Outputs the initial seed sequence that's stored in the
std::seed_seq
object.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.
[Bearbeiten] Parameter
dest | - | Ausgabeiterator so dass die Expression *dest=rt gültig für einen Wert von
rt result_type istOriginal: output iterator such that the expression *dest=rt is valid for a value rt of result_type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Type requirements | ||
-OutputIt must meet the requirements of OutputIterator .
|
[Bearbeiten] Rückgabewert
(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.
[Bearbeiten] Beispiel
#include <random> #include <iostream> #include <iterator> int main() { std::seed_seq s1 = {-1, 0, 1}; s1.param(std::ostream_iterator<int>(std::cout, " ")); }
Output:
-1 0 1