Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Constructs an object of type istrstream.
explicit istrstream(
const char *_Ptr
);
explicit istrstream(
char *_Ptr
);
istrstream(
const char *_Ptr,
streamsize _Count
);
istrstream(
char *_Ptr,
int _Count
);
Parameters
_Count
The length of the buffer (_Ptr)._Ptr
The contents with which the buffer is initialized.
Remarks
All the constructors initialize the base class by calling istream(sb), where sb is the stored object of class strstreambuf. The first two constructors also initialize sb by calling strstreambuf( (const char *)_Ptr, 0 ). The remaining two constructors instead call strstreambuf( (const char *)_Ptr, _Count ).
Requirements
Header: <strstream>
Namespace: std