std::ios_base::Init
Da 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. |
class Init; |
||
Essa classe é usada para garantir que o padrão C + + correntes (std::cin, std::cout, etc) são devidamente inicializado e destruído. A classe acompanha quantas instâncias de que são criados e inicializa o C + + correntes quando a primeira instância é construída, bem como ondas de os fluxos de saída quando a última instância é destruída.
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.
You can help to correct and verify the translation. Click here for instructions.
[editar] Funções de membro
(constructor) |
if *this is the first instance created, initializes the default C++ streams (função pública membro) |
(destructor) |
if *this is the last instance created, flushes the default C++ streams (função pública membro) |
[editar] Veja também
l�� a partir do fluxo de entrada padrão C stdin
(objeto global) Original: reads from the standard C input stream stdin (objeto global) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
grava o padrão de fluxo de saída stdout
(objeto global) C Original: writes to the standard C output stream stdout (objeto global) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
grava o fluxo de erro padrão C stderr, unbuffered
(objeto global) Original: writes to the standard C error stream stderr, unbuffered (objeto global) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
escreve para o padrão stderr
(objeto global) fluxo de erro C Original: writes to the standard C error stream stderr (objeto global) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |