std::istrstream:: str
From cppreference.net
<
cpp
|
io
|
istrstream
C++
Input/output library
| I/O manipulators | ||||
| Print functions (C++23) | ||||
| C-style I/O | ||||
| Buffers | ||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(C++20)
|
||||
| Streams | ||||
| Abstractions | ||||
| File I/O | ||||
| String I/O | ||||
| Array I/O | ||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
| Synchronized Output | ||||
|
(C++20)
|
||||
| Types | ||||
| Error category interface | ||||
|
(C++11)
|
||||
|
(C++11)
|
std::istrstream
| Member functions | ||||
|
istrstream::str
|
|
char
*
str
(
)
;
|
(obsoleto en C++98)
(eliminado en C++26) |
|
Devuelve el puntero al inicio del búfer, después de congelarlo. Efectivamente llama a rdbuf ( ) - > str ( ) .
Parámetros
(ninguno)
Valor de retorno
Puntero al inicio del búfer en el std:: strstreambuf asociado o un puntero nulo si no hay búfer disponible.
Ejemplo
|
Esta sección está incompleta
Motivo: sin ejemplo |