public member type

std::ios_base::seekdir

<ios>
Type for stream seeking direction flag
Enumerated type to represent the seeking direction of a stream seeking operation.

The possible values for this type are one of the following member constants:

flag valueseeking relative to
begbeginning of sequence.
curcurrent position within sequence.
endend of sequence.

These constants are defined in the ios_base class as public members. Therefore, they can be refered to either directly by their name as ios_base members (like ios_base::beg) or by using any of their inherited classes or instantiated objects, like for example ios::end or cin.cur.