Freigeben über


fpos::operator+

Increments a file-position indicator.

fpos<Statetype> operator+(
     streamoff _Off
) const;

Parameters

  • _Off
    The offset by which you want to increment the file-position indicator.

Return Value

The position in the file.

Remarks

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

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