std::ios_base::seekdir

From Cppreference

Jump to: navigation, search
typedef /*implementation defined*/ seekdir;

static constexpr seekdir beg = /*implementation defined*/

static constexpr seekdir end = /*implementation defined*/

static constexpr seekdir cur = /*implementation defined*/

Specifies file seeking direction type. The following constants are defined:

Constant Explanation
beg the beginning of a stream
end the ending of a stream
cur the current position of stream position indicator

[edit] Example