public member type
<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 value | seeking relative to |
beg | beginning of sequence. |
cur | current position within sequence. |
end | end 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.