Lines Matching defs:_Traits

14 template <class _CharT, class _Traits>
16 __stlp_string_fill(basic_ostream<_CharT, _Traits>& __os,
17 basic_streambuf<_CharT, _Traits>* __buf,
21 if (_Traits::eq_int_type(__buf->sputc(__f), _Traits::eof()))
28 template <class _CharT, class _Traits, class _Alloc>
29 basic_ostream<_CharT, _Traits>& _STLP_CALL
30 operator << (basic_ostream<_CharT, _Traits>& __os,
31 const basic_string<_CharT,_Traits,_Alloc>& __s) {
32 typedef basic_ostream<_CharT, _Traits> __ostream;
33 typedef typename basic_string<_CharT, _Traits, _Alloc>::size_type size_type;
46 basic_streambuf<_CharT, _Traits>* __buf = __os.rdbuf();
67 template <class _CharT, class _Traits, class _Alloc>
68 basic_istream<_CharT, _Traits>& _STLP_CALL
69 operator >> (basic_istream<_CharT, _Traits>& __is,
70 basic_string<_CharT,_Traits, _Alloc>& __s) {
71 typedef basic_istream<_CharT, _Traits> __istream;
72 typedef typename basic_string<_CharT, _Traits, _Alloc>::size_type size_type;
80 basic_streambuf<_CharT, _Traits>* __buf = __is.rdbuf();
103 typename _Traits::int_type __c1 = __buf->sbumpc();
104 if (_Traits::eq_int_type(__c1, _Traits::eof())) {
109 _CharT __c = _Traits::to_char_type(__c1);
112 if (_Traits::eq_int_type(__buf->sputbackc(__c), _Traits::eof()))
131 template <class _CharT, class _Traits, class _Alloc>
132 basic_istream<_CharT, _Traits>& _STLP_CALL
133 getline(basic_istream<_CharT, _Traits>& __is,
134 basic_string<_CharT,_Traits,_Alloc>& __s,
136 typedef basic_istream<_CharT, _Traits> __istream;
137 typedef typename basic_string<_CharT, _Traits, _Alloc>::size_type size_type;
139 typename basic_istream<_CharT, _Traits>::sentry __sentry(__is, true);
141 basic_streambuf<_CharT, _Traits>* __buf = __is.rdbuf();
146 if (_Traits::eq_int_type(__c1, _Traits::eof())) {
152 _CharT __c = _Traits::to_char_type(__c1);
153 if (!_Traits::eq(__c, __delim))