fpos::operator+

增大交换文件位置的。

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

参数

  • _Off
    前面要添加的文件位置的偏移量。

返回值

在文件的位置。

备注

成员函数_Off返回 fpos(*this) +=

示例

用于 **operator+**示例参见 运算符。=

要求

页眉: <ios>

命名空间: std

请参见

参考

fpos 类

iostream 编程

iostreams 约定