ostrstream::pcount

Returns a count of the number of elements written to the controlled sequence.

streamsize pcount( ) const;

Return Value

The number of elements written to the controlled sequence.

Remarks

The member function returns rdbuf -> pcount.

Example

See strstream::pcount for a sample that uses pcount.

Requirements

Header: <strstream>

Namespace: std

See Also

Reference

ostrstream Class

iostream Programming

iostreams Conventions