public member type
<ios> <iostream>


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:

member constantseeking 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 referred to either directly by their name as members of ios_base (like ios_base::beg) or by using any of their inherited classes or instantiated objects, like for example ios::end or cin.cur.