Share via


strstream::str

Calls freeze, and then returns a pointer to the beginning of the controlled sequence.

char *str( );

Return Value

A pointer to the beginning of the controlled sequence.

Remarks

The member function returns rdbuf -> str.

Example

See strstreambuf::str for a sample that uses str.

Requirements

Header: <strstream>

Namespace: std

See Also

Reference

strstream Class

iostream Programming

iostreams Conventions