GNU g++  v5.2.1
GNU Standard C++
postypes.h File Reference

This is an internal header file, included by other library headers. More...

#include <cwchar>
Include dependency graph for postypes.h:
This graph shows which files directly or indirectly include this file:

Functions

namespace std _GLIBCXX_VISIBILITY (default)
 

Detailed Description

This is an internal header file, included by other library headers.

Do not attempt to use it directly. {iosfwd}

Function Documentation

namespace std _GLIBCXX_VISIBILITY ( default  )

Type used by fpos, char_traits<char>, and char_traits<wchar_t>.

In clauses 21.1.3.1 and 27.4.1 streamoff is described as an implementation defined type. Note: In versions of GCC up to and including GCC 3.3, streamoff was typedef long.

Integral type for I/O operation counts and buffer sizes.

Class representing stream positions.

The standard places no requirements upon the template parameter StateT. In this implementation StateT must be DefaultConstructible, CopyConstructible and Assignable. The standard only requires that fpos should contain a member of type StateT. In this implementation it also contains an offset stored as a signed integer.

Parameters
StateTType passed to and returned from state().

Construct position from offset.

Convert to streamoff.

Remember the value of st.

Return the last set value of st.

Add offset to this position.

Subtract offset from this position.

Add position and offset.

Subtract offset from position.

Subtract position to return offset.

Test if equivalent to another position.

File position for char streams.

File position for wchar_t streams.

References std::__exception_ptr::operator!=(), __gnu_debug::operator+(), __gnu_debug::operator-(), and std::__exception_ptr::operator==().

Here is the call graph for this function: