Megosztás a következőn keresztül:


fpos::operator==

Tests file-position indicators for equality.

bool operator==(
    const fpos<Statetype>& _Right
) const;

Parameters

  • _Right
    The file-position indicator against which to compare.

Return Value

true if the file-position indicators are equal; otherwise false.

Remarks

The member function returns (streamoff)*this == (streamoff)_Right.

Example

See operator!= for a sample of using operator+=.

Requirements

Header: <ios>

Namespace: std

See Also

Reference

fpos Class

iostream Programming

iostreams Conventions