Export (0) Print
Expand All


Create an object that contains information about a position (offset) in a stream.

   streamoff _Off=0 
   Statetype _State, 
   fpos_t _Filepos 


The offset into the stream.


The starting state of the fpos object.


The offset into the stream.

The first constructor stores the offset _Off, relative to the beginning of file and in the initial conversion state (if that matters). If _Off is -1, the resulting object represents an invalid stream position.

The second constructor stores a zero offset and the object _State.

Header: <ios>

Namespace: std

© 2014 Microsoft