3 template < class _CharT > struct char_traits;
4 typedef long streamsize;
5 template < typename _CharT, typename _Traits =
6 char_traits < _CharT > >class basic_ostream;
7 template < typename _CharT, typename _Traits =
8 char_traits < _CharT > >class Trans_NS___cxx11_basic_ostringstream;
9 template < typename _CharT, typename _Traits =
10 char_traits < _CharT > >class istreambuf_iterator;
11 template < typename _CharT, typename _Traits =
12 char_traits < _CharT > >class ostreambuf_iterator;
16 template < typename _CharT, typename _InIter =
17 istreambuf_iterator < _CharT > >class num_get;
18 template < typename _CharT, typename _OutIter =
19 ostreambuf_iterator < _CharT > >class num_put;
24 typedef int _Atomic_word;
31 template < typename _Facet > locale ( const locale & __other,
33 private: _Impl * _M_impl;
37 mutable _Atomic_word _M_refcount;
38 protected: explicit facet ( void ) throw ( );
43 _S_boolalpha = 1 << 0, _S_dec, _S_fixed = 1 << 2, _S_hex =
44 1 << 3, _S_internal = 1 << 4, _S_left = 1 << 5, _S_oct =
45 1 << 6, _S_right = 1 << 7, _S_scientific = 1 << 8, _S_showbase =
46 1 << 9, _S_showpoint = 1 << 10, _S_showpos = 1 << 11, _S_skipws =
47 1 << 12, _S_unitbuf = 1 << 13, _S_uppercase = 1 << 14, _S_adjustfield =
48 _S_left | _S_right | _S_internal, _S_basefield =
49 _S_dec | _S_oct | _S_hex, _S_floatfield =
50 _S_scientific | _S_fixed, _S_ios_fmtflags_end = 1 << 16
58 _S_goodbit, _S_badbit, _S_eofbit, _S_failbit =
59 1 << 2, _S_ios_iostate_end = 1 << 16
63 public:typedef _Ios_Fmtflags fmtflags;
64 typedef _Ios_Iostate iostate;
65 protected: streamsize _M_precision;
69 iostate _M_streambuf_state;
70 struct _Callback_list;
71 _Callback_list *_M_callbacks;
80 _S_local_word_size = 8
82 _Words _M_local_word[_S_local_word_size];
86 virtual ~ ios_base ( );
88 template < typename _CharT, typename _Traits > class basic_streambuf;
89 template < typename _CharT, typename _Traits > class ostreambuf_iterator:public
92 typedef basic_ostream < wchar_t, _Traits > ostream_type;
94 class __ctype_abstract_base:public locale::facet
97 template < typename _CharT > class ctype:public __ctype_abstract_base
100 class Trans_NS___cxx11_numpunct:public locale::facet
103 template < typename _CharT, typename _InIter > class num_get:public locale::
107 template < typename _CharT, typename _OutIter > class num_put:public locale::
110 public:typedef int char_type;
111 typedef std::ostreambuf_iterator < wchar_t,
112 std::char_traits < wchar_t > >iter_type;
114 template < typename _CharT, typename _Traits > class basic_ios:public
117 public:typedef wchar_t char_type;
118 typedef num_get < wchar_t, istreambuf_iterator < wchar_t,
119 _Traits > >__num_get_type;
120 protected:basic_ostream < wchar_t, _Traits > *_M_tie;
121 mutable char_type _M_fill;
122 mutable bool _M_fill_init;
123 basic_streambuf < wchar_t, _Traits > *_M_streambuf;
124 const ctype < wchar_t > *_M_ctype;
125 const num_put < wchar_t, ostreambuf_iterator < wchar_t,
126 _Traits > >*_M_num_put;
127 const __num_get_type *_M_num_get;
129 template < typename _CharT, typename _Traits > class basic_ostream:virtual public basic_ios < wchar_t,
140 static const unsigned int wchar_t_facet = 1 << 1;
146 template < typename _CharT, typename _Traits > class Trans_NS___cxx11_basic_ostringstream:public basic_ostream < wchar_t,
150 public:explicit Trans_NS___cxx11_basic_ostringstream ( void );
153 class base_num_format:public
157 public:typedef typename
163 base_num_format ( unsigned long refs = 0 );
173 do_put ( void ) const
176 do_real_put ( do_put_out, do_put_ios, do_put_fill, do_put_val );
182 do_real_put ( iter_type out, std::ios_base & ios, char_type fill,
183 ValueType val ) const
189 std::Trans_NS___cxx11_basic_ostringstream <
209 public:typedef wchar_t
211 num_format ( shared_ptr lc, unsigned long refs = 0 )
218 std::Trans_NS___cxx11_numpunct
221 template < typename CharType >
222 std::locale create_formatting_impl ( std::locale const &in, shared_ptr lc )
224 std::locale tmp = std::locale ( tmp, new num_format ( lc ) );
226 shared_ptr create_formatting_lc;
227 unsigned int create_formatting_type;
229 create_formatting ( std::locale const &in )
231 switch ( create_formatting_type )
233 create_formatting_impl < wchar_t > ( in, create_formatting_lc );