다음을 통해 공유


fpos::operator-=

Decrements a file-position indicator.

fpos<Statetype>& operator-=(
    streamoff _Off
);

매개 변수

  • _Off
    Stream offset.

반환 값

The member function returns fpos(*this) -= _Off.

설명

For positioning within a file, the result is generally valid only for binary streams that do not have a state-dependent encoding.

예제

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

요구 사항

Header: <ios>

네임스페이스: std

참고 항목

참조

fpos 클래스

iostream 프로그래밍

iostreams 규칙