27 Input/output library [input.output]

27.5 Iostreams base classes [iostreams.base]

27.5.3 Class ios_base [ios.base]

27.5.3.1 Types [ios.types]

27.5.3.1.5 Type ios_base::seekdir [ios::seekdir]

typedef T4 seekdir;

The type seekdir is an enumerated type ([enumerated.types]) that contains the elements indicated in Table [tab:iostreams.seekdir.effects].

Table 126seekdir effects
ElementMeaning
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