| (1) | basic_ostream& seekp (pos_type pos); |
|---|---|
| (2) | basic_ostream& seekp (off_type off, ios_base::seekdir way); |
true,则函数返回。*this)。| flag | error |
|---|---|
| eofbit | - |
| failbit | 内部调用 *(1) 中的 pubseekpos 失败(当 sentry 的构造失败时也可能设置该标志)。 |
| badbit | 流上发生了其他错误(例如,当函数捕获由内部操作抛出的异常时)。 当设置此标志时,流的完整性可能受到影响。 |
| flag | error |
|---|---|
| eofbit | - |
| failbit | 内部调用 pubseekpos 或 pubseekoff 失败(当 sentry 的构造失败时也可能设置该标志)。 |
| badbit | 流上发生了其他错误(例如,当函数捕获由内部操作抛出的异常时)。 当设置此标志时,流的完整性可能受到影响。 |
|
|
This is a sample |