다음을 통해 공유


fpos::operator==

Tests file-position indicators for equality.

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

매개 변수

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

반환 값

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

설명

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

예제

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

요구 사항

Header: <ios>

네임스페이스: std

참고 항목

참조

fpos 클래스

iostream 프로그래밍

iostreams 규칙