37 #ifndef _GLIBCXX_POSTYPES_H
38 #define _GLIBCXX_POSTYPES_H 1
40 #pragma GCC system_header
47 #if (defined(_GLIBCXX_HAVE_INT64_T) && !defined(_GLIBCXX_HAVE_INT64_T_LONG) \
48 && !defined(_GLIBCXX_HAVE_INT64_T_LONG_LONG))
50 #ifndef __STDC_LIMIT_MACROS
51 # define _UNDEF__STDC_LIMIT_MACROS
52 # define __STDC_LIMIT_MACROS
54 #ifndef __STDC_CONSTANT_MACROS
55 # define _UNDEF__STDC_CONSTANT_MACROS
56 # define __STDC_CONSTANT_MACROS
59 #ifdef _UNDEF__STDC_LIMIT_MACROS
60 # undef __STDC_LIMIT_MACROS
61 # undef _UNDEF__STDC_LIMIT_MACROS
63 #ifdef _UNDEF__STDC_CONSTANT_MACROS
64 # undef __STDC_CONSTANT_MACROS
65 # undef _UNDEF__STDC_CONSTANT_MACROS
70 _GLIBCXX_BEGIN_NAMESPACE(std)
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() { }
154 operator+=(streamoff __off)
165 operator-=(streamoff __off)
178 operator+(streamoff __off)
const
192 operator-(streamoff __off)
const
205 operator-(
const fpos& __other)
const
206 {
return _M_off - __other._M_off; }
214 template<
typename _StateT>
219 template<
typename _StateT>
221 operator!=(
const fpos<_StateT>& __lhs,
const fpos<_StateT>& __rhs)
232 #ifdef __GXX_EXPERIMENTAL_CXX0X__
239 _GLIBCXX_END_NAMESPACE