Espaces de noms
Variantes
Affichages
Actions

std::basic_iostream::basic_iostream

De cppreference.com
< cpp‎ | io‎ | basic iostream

 
 
D'entrée / sortie de bibliothèque
I / O manipulateurs
C-style I / O
Tampons
Original:
Buffers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_streambuf
basic_filebuf
basic_stringbuf
strstreambuf (obsolète)
Cours d'eau
Original:
Streams
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Abstractions
Original:
Abstractions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ios_base
basic_ios
basic_istream
basic_ostream
basic_iostream
Fichier E / O
Original:
File I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_ifstream
basic_ofstream
basic_fstream
Chaîne I / O
Original:
String I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_istringstream
basic_ostringstream
basic_stringstream
Tableau I / O
Original:
Array I/O
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
istrstream (obsolète)
ostrstream (obsolète)
strstream (obsolète)
Types
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
streamoff
streamsize
fpos
Interface catégorie d'erreur
Original:
Error category interface
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iostream_category (C++11)
io_errc (C++11)
 
std::basic_iostream
Les fonctions membres
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_iostream::basic_iostream
basic_iostream::~basic_iostream
Protégé fonctions membres
Original:
Protected member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_iostream::operator=
basic_iostream::swap
 
explicit basic_iostream( std::basic_streambuf<CharT,Traits>* sb );
(1)
basic_iostream( const basic_iostream& other ) = delete;
(2) (depuis C++11)
protected:
basic_iostream( basic_iostream&& other );
(3) (depuis C++11)
Construit objet de flux nouveau .
Original:
Constructs new stream object.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Initialise avec sb streambuf. Les classes de base sont initialisés comme basic_istream<CharT,Traits>(sb) et basic_ostream<CharT,Traits>(sb). Après l'appel rdbuf() == sb et gcount() == 0 .
Original:
Initializes with streambuf sb. The base classes are initialized as basic_istream<CharT,Traits>(sb) and basic_ostream<CharT,Traits>(sb). After the call rdbuf() == sb and gcount() == 0.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Construction copie n'est pas autorisée .
Original:
Copy construction is not allowed.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
Déplacez constructeur: mouvement construit la classe première base basic_istream que basic_istream<CharT,Traits>(std::move(rhs));, qui à son tour mouvement construit et initialise le std::basic_ios base virtuelle. L'initialisation de la base de l'autre, basic_ostream, est définie par l'implémentation (par exemple, un constructeur par défaut protégée ne peut être ajouté à std::basic_ostream, qui ne fait rien) parce que mouvement de construction ne peut rhs utiliser deux fois. Ce constructeur mouvement est protégé: il est appelé par les constructeurs déplacer des classes de flux dérivés std::basic_fstream et std::basic_stringstream avant de se déplacer-construire et associer le tampon de flux .
Original:
Move constructor: move-constructs the first base class basic_istream as basic_istream<CharT,Traits>(std::move(rhs));, which in turn move-constructs and initializes the virtual base std::basic_ios. The initialization of the other base, basic_ostream, is implementation-defined (e.g., a protected default constructor may be added to std::basic_ostream, which does nothing) because move-construction cannot use rhs twice. This move constructor is protected: it is called by the move constructors of the derived stream classes std::basic_fstream and std::basic_stringstream before they move-construct and associate the stream buffer.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Paramètres

sb -
streambuf pour initialiser avec
Original:
streambuf to initialize with
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
other -
un autre flux d'initialiser avec
Original:
another stream to initialize with
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Voir aussi

(C++11)
déplacez-assigne une autre basic_iostream
Original:
move-assigns another basic_iostream
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre publique) [edit]