This commit is contained in:
2025-10-25 03:02:53 +03:00
commit 043225d523
3416 changed files with 681196 additions and 0 deletions

31
cppdraft/ios/seekdir.md Normal file
View File

@@ -0,0 +1,31 @@
[ios.seekdir]
# 31 Input/output library [[input.output]](./#input.output)
## 31.5 Iostreams base classes [[iostreams.base]](iostreams.base#ios.seekdir)
### 31.5.2 Class ios_base [[ios.base]](ios.base#ios.seekdir)
#### 31.5.2.2 Types [[ios.types]](ios.types#ios.seekdir)
#### 31.5.2.2.5 Type ios_base::seekdir [ios.seekdir]
[🔗](#lib:seekdir,ios_base)
`using seekdir = T4;
`
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L1107)
The typeseekdir is an enumerated type ([[enumerated.types]](enumerated.types "16.3.3.3.2Enumerated types"))
that contains the elements indicated in Table [140](#tab:ios.seekdir "Table 140: seekdir effects")[.](#1.sentence-1)
Table [140](#tab:ios.seekdir) — seekdir effects [[tab:ios.seekdir]](./tab:ios.seekdir)
| [🔗](#tab:ios.seekdir-row-1)<br>**Element** | **Meaning** |
| --- | --- |
| [🔗](#tab:ios.seekdir-row-2)<br>beg | request a seek (for subsequent input or output) relative to the beginning of the stream |
| [🔗](#tab:ios.seekdir-row-3)<br>cur | request a seek relative to the current position within the sequence |
| [🔗](#tab:ios.seekdir-row-4)<br>end | request a seek relative to the current end of the sequence |