Freigeben über


fpos::operator-=

Decrements a file-position indicator.

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

Parameters

  • _Off
    Stream offset.

Return Value

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

Remarks

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

Example

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

Requirements

Header: <ios>

Namespace: std

See Also

Concepts

fpos Class

fpos Members

iostream Programming

iostreams Conventions