Share via


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

Reference

fpos Class

iostream Programming

iostreams Conventions

Other Resources

fpos Members