Input/output manipulators
Aus cppreference.com
Manipulatoren sind Hilfsfunktionen, die es möglich, Input / Output-Streams mit
operator<< oder operator>> kontrollieren machen . Original:
Manipulators are helper functions that make it possible to control input/output streams using
operator<< or operator>>. 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.
Die Manipulatoren, die ohne Argumenten aufgerufen werden (zB
std::cout << std::boolalpha; oder std::cin >> std::hex;) als Funktionen, die eine Referenz zu nehmen, um einen Strom als ihre einzige Argument implementiert. Die besonderen Überladungen basic_ostream::operator<< und basic_istream::operator>> akzeptieren Zeiger auf diese Funktionen .Original:
The manipulators that are invoked without arguments (e.g.
std::cout << std::boolalpha; or std::cin >> std::hex;) are implemented as functions that take a reference to a stream as their only argument. The special overloads of basic_ostream::operator<< and basic_istream::operator>> accept pointers to these functions.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.
Die Manipulatoren, die mit Argumenten aufgerufen werden (zB
std::cout << std::setw(10);) als Funktionen der Rückkehr Objekten von unspezifizierten Typ implementiert. Diese Manipulatoren definieren ihre eigenen operator<< oder operator>> die die angeforderte Manipulationen durchführen .Original:
The manipulators that are invoked with arguments (e.g.
std::cout << std::setw(10);) are implemented as functions returning objects of unspecified type. These manipulators define their own operator<< or operator>> which perform the requested manipulation.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.
