35#ifndef _GLIBCXX_POSTYPES_H
36#define _GLIBCXX_POSTYPES_H 1
38#pragma GCC system_header
45#if (defined(_GLIBCXX_HAVE_INT64_T) && !defined(_GLIBCXX_HAVE_INT64_T_LONG) \
46 && !defined(_GLIBCXX_HAVE_INT64_T_LONG_LONG))
48#ifndef __STDC_LIMIT_MACROS
49# define _UNDEF__STDC_LIMIT_MACROS
50# define __STDC_LIMIT_MACROS
52#ifndef __STDC_CONSTANT_MACROS
53# define _UNDEF__STDC_CONSTANT_MACROS
54# define __STDC_CONSTANT_MACROS
57#ifdef _UNDEF__STDC_LIMIT_MACROS
58# undef __STDC_LIMIT_MACROS
59# undef _UNDEF__STDC_LIMIT_MACROS
61#ifdef _UNDEF__STDC_CONSTANT_MACROS
62# undef __STDC_CONSTANT_MACROS
63# undef _UNDEF__STDC_CONSTANT_MACROS
68namespace std _GLIBCXX_VISIBILITY(default)
70_GLIBCXX_BEGIN_NAMESPACE_VERSION
87#ifdef _GLIBCXX_HAVE_INT64_T_LONG
89#elif defined(_GLIBCXX_HAVE_INT64_T_LONG_LONG)
91#elif defined(_GLIBCXX_HAVE_INT64_T)
111 template<
typename _StateT>
124 : _M_off(0), _M_state() { }
134 : _M_off(__off), _M_state() { }
136#if __cplusplus >= 201103L
138 fpos& operator=(
const fpos&) =
default;
212 {
return _M_off - __other._M_off; }
220 template<
typename _StateT>
225 template<
typename _StateT>
227 operator!=(
const fpos<_StateT>& __lhs,
const fpos<_StateT>& __rhs)
238#ifdef _GLIBCXX_USE_CHAR8_T
243#if __cplusplus >= 201103L
250_GLIBCXX_END_NAMESPACE_VERSION
ISO C++ entities toplevel namespace is std.
ptrdiff_t streamsize
Integral type for I/O operation counts and buffer sizes.
fpos< mbstate_t > u32streampos
File position for char32_t streams.
long long streamoff
Type used by fpos, char_traits<char>, and char_traits<wchar_t>.
fpos< mbstate_t > wstreampos
File position for wchar_t streams.
fpos< mbstate_t > streampos
File position for char streams.
fpos< mbstate_t > u16streampos
File position for char16_t streams.
Class representing stream positions.
fpos & operator-=(streamoff __off)
Subtract offset from this position.
void state(_StateT __st)
Remember the value of st.
fpos operator+(streamoff __off) const
Add position and offset.
fpos(streamoff __off)
Construct position from offset.
fpos & operator+=(streamoff __off)
Add offset to this position.
streamoff operator-(const fpos &__other) const
Subtract position to return offset.
_StateT state() const
Return the last set value of st.
fpos operator-(streamoff __off) const
Subtract offset from position.