strstream::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 strstreambuf::pcount for a sample of using pcount.

Requirements

Header: <strstream>

Namespace: std

See Also

Concepts

strstream Class

strstream Members

iostream Programming

iostreams Conventions