std::ios_base::Init – cppreference.com
Aus cppreference.com
<metanoindex/>
<tbody> </tbody>
Diese Klasse wird verwendet, um sicherzustellen, dass die Standard-C + +-Streams (std::cin, std::cout, etc.) korrekt initialisiert und zerstört. Die Klasse verfolgt, wie viele Instanzen von ihm erstellt und initialisiert die C + +-Streams, wenn die erste Instanz wird, sowie spült konstruiert die Output-Streams, wenn die letzte Instanz zerstört .
Original:
This class is used to ensure that the default C++ streams (std::cin, std::cout, etc.) are properly initialized and destructed. The class tracks how many instances of it are created and initializes the C++ streams when the first instance is constructed as well as flushes the output streams when the last instance is destructed.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Member-Funktionen
if *this is the first instance created, initializes the default C++ streams (öffentliche Elementfunktion) | |
if *this is the last instance created, flushes the default C++ streams (öffentliche Elementfunktion) | |
Siehe auch
}}
liest aus der Standard-C-Input-Stream stdin Original: reads from the standard C input stream stdin The text has been machine-translated via Google Translate. | |
| schreibt in den Standard-C Ausgabe-Stream stdout (globales Objekt) [edit] | |
schreibt der Standard-C-Fehler Stream stderr, unbuffered Original: writes to the standard C error stream stderr, unbuffered The text has been machine-translated via Google Translate. | |
schreibt der Standard-C-Fehler Stream stderr Original: writes to the standard C error stream stderr The text has been machine-translated via Google Translate. | |