operator<<,>>(std::shuffle_order_engine)
Aus cppreference.com
< cpp | numeric | random | shuffle order engine
![]() |
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 CharT, class Traits, class ResultType, class Engine, size_t p, size_t r > |
(1) | (seit C++11) |
template< class CharT, class Traits, class ResultType, class Engine, size_t p, size_t r > |
(2) | (seit C++11) |
1)
Serialisiert den internen Zustand der Pseudo-Zufallszahlen-Anpasseinrichtung als eine Sequenz von Dezimalzahlen durch einen oder mehrere Räume getrennt sind, und fügt sie zu dem Strom
ost
. Das Füllzeichen und die Formatierung Fahnen der Stream ignoriert und unberührt . Original:
Serializes the internal state of the pseudo-random number engine adaptor as a sequence of decimal numbers separated by one or more spaces, and inserts it to the stream
ost
. The fill character and the formatting flags of the stream are ignored and unaffected. 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.
2)
Stellt den internen Zustand der Pseudo-Zufallszahlen-Anpasseinrichtung
e
aus der serialisierten Darstellung, die von einem früheren Aufruf operator<<
Verwendung eines Stroms mit demselben durchdrungen Gebietsschema und demselben CharT
und Traits
erstellt wurde. Wenn die Eingabe nicht deserialisiert werden kann, wird e
unverändert gelassen und failbit
auf ist
angehobenOriginal:
Restores the internal state of the pseudo-random number engine adaptor
e
from the serialized representation, which was created by an earlier call to operator<<
using a stream with the same imbued locale and the same CharT
and Traits
. If the input cannot be deserialized, e
is left unchanged and failbit
is raised on ist
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.
Wenn eine textuelle Darstellung geschrieben wird, und dass unter Verwendung os << x Darstellung wird in dem gleichen oder einem anderen Objekt
y
des gleichen Typs mit is >> y, dann x==y wiederhergestellt .Original:
If a textual representation is written using os << x and that representation is restored into the same or a different object
y
of the same type using is >> y, then x==y.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.
This section is incomplete Reason: standard also defines what the textual representation consists of |
Inhaltsverzeichnis |
[Bearbeiten] Parameter
ost | - | Ausgabestrom, um die Daten einzufügen
Original: output stream to insert the data to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
ist | - | Eingabestrom, um die Daten zu extrahieren
Original: input stream to extract the data from The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
e | - | Motoradapter zum Serialisieren oder wiederherzustellen
Original: engine adaptor to serialize or restore The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[Bearbeiten] Rückgabewert
1)
ost
2)
ist
[Bearbeiten] Komplexität
This section is incomplete |
[Bearbeiten] Ausnahmen
1)
(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.
2)
Kann std::ios::failure werfen, wenn die Einstellung
failbit
Original:
May throw std::ios::failure when setting
failbit
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.