Files
2025-10-25 03:02:53 +03:00

32 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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