| (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 |