The type seekdir is an enumerated type ([enumerated.types]) that contains the elements indicated in Table [tab:iostreams.seekdir.effects].
| Element | Meaning |
| beg | request a seek (for subsequent input or output) relative to the beginning of the stream |
| cur | request a seek relative to the current position within the sequence |
| end | request a seek relative to the current end of the sequence |