fpos::operator+=
Increments a file-position indicator.
fpos<Statetype>& operator+=(
streamoff _Off
);
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 adds _Off to the stored offset member object and then returns *this. 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