31 #define _BASIC_IOS_H 1
33 #pragma GCC system_header
40 namespace std _GLIBCXX_VISIBILITY(default)
42 _GLIBCXX_BEGIN_NAMESPACE_VERSION
44 template<
typename _Facet>
46 __check_facet(
const _Facet* __f)
65 template<
typename _CharT,
typename _Traits>
66 class basic_ios :
public ios_base
97 mutable bool _M_fill_init;
115 operator void*()
const
120 {
return this->
fail(); }
132 {
return _M_streambuf_state; }
162 _M_streambuf_state |= __state;
164 __throw_exception_again;
175 {
return this->
rdstate() == 0; }
217 {
return _M_exception; }
253 _M_exception = __except;
254 this->
clear(_M_streambuf_state);
265 :
ios_base(), _M_tie(0), _M_fill(), _M_fill_init(false), _M_streambuf(0),
266 _M_ctype(0), _M_num_put(0), _M_num_get(0)
267 { this->
init(__sb); }
316 {
return _M_streambuf; }
368 _M_fill = this->
widen(
' ');
425 {
return __check_facet(_M_ctype).narrow(__c, __dfault); }
444 {
return __check_facet(_M_ctype).widen(__c); }
456 _M_streambuf(0), _M_ctype(0), _M_num_put(0), _M_num_get(0)
469 _M_cache_locale(
const locale& __loc);
472 _GLIBCXX_END_NAMESPACE_VERSION