fpos::operator-
Decrements a file-position indicator.
streamoff operator-(
const fpos<Statetype>& _Right
) const;
fpos<Statetype> operator-(
streamoff _Off
) const;
매개 변수
_Right
File position._Off
Stream offset.
반환 값
The first member function returns (streamoff)*this - (streamoff)_Right. The second member function returns fpos(*this) -= _Off.
예제
See operator!= for a sample of using operator-.
요구 사항
Header: <ios>
네임스페이스: std