Lines Matching refs:_Traits

166 template <class _CharT, class _Traits>
168 : virtual public basic_ios<_CharT, _Traits>
174 typedef _Traits traits_type;
246 template <class _CharT, class _Traits>
247 class _LIBCPP_TYPE_VIS_ONLY basic_istream<_CharT, _Traits>::sentry
255 explicit sentry(basic_istream<_CharT, _Traits>& __is, bool __noskipws = false);
263 template <class _CharT, class _Traits>
264 basic_istream<_CharT, _Traits>::sentry::sentry(basic_istream<_CharT, _Traits>& __is,
274 typedef istreambuf_iterator<_CharT, _Traits> _Ip;
290 template <class _CharT, class _Traits>
292 basic_istream<_CharT, _Traits>::basic_istream(basic_streambuf<char_type, traits_type>* __sb)
300 template <class _CharT, class _Traits>
302 basic_istream<_CharT, _Traits>::basic_istream(basic_istream&& __rhs)
309 template <class _CharT, class _Traits>
311 basic_istream<_CharT, _Traits>&
312 basic_istream<_CharT, _Traits>::operator=(basic_istream&& __rhs)
320 template <class _CharT, class _Traits>
321 basic_istream<_CharT, _Traits>::~basic_istream()
325 template <class _CharT, class _Traits>
328 basic_istream<_CharT, _Traits>::swap(basic_istream& __rhs)
334 template <class _CharT, class _Traits>
335 basic_istream<_CharT, _Traits>&
336 basic_istream<_CharT, _Traits>::operator>>(unsigned short& __n)
361 template <class _CharT, class _Traits>
362 basic_istream<_CharT, _Traits>&
363 basic_istream<_CharT, _Traits>::operator>>(unsigned int& __n)
388 template <class _CharT, class _Traits>
389 basic_istream<_CharT, _Traits>&
390 basic_istream<_CharT, _Traits>::operator>>(long& __n)
415 template <class _CharT, class _Traits>
416 basic_istream<_CharT, _Traits>&
417 basic_istream<_CharT, _Traits>::operator>>(unsigned long& __n)
442 template <class _CharT, class _Traits>
443 basic_istream<_CharT, _Traits>&
444 basic_istream<_CharT, _Traits>::operator>>(long long& __n)
469 template <class _CharT, class _Traits>
470 basic_istream<_CharT, _Traits>&
471 basic_istream<_CharT, _Traits>::operator>>(unsigned long long& __n)
496 template <class _CharT, class _Traits>
497 basic_istream<_CharT, _Traits>&
498 basic_istream<_CharT, _Traits>::operator>>(float& __n)
523 template <class _CharT, class _Traits>
524 basic_istream<_CharT, _Traits>&
525 basic_istream<_CharT, _Traits>::operator>>(double& __n)
550 template <class _CharT, class _Traits>
551 basic_istream<_CharT, _Traits>&
552 basic_istream<_CharT, _Traits>::operator>>(long double& __n)
577 template <class _CharT, class _Traits>
578 basic_istream<_CharT, _Traits>&
579 basic_istream<_CharT, _Traits>::operator>>(bool& __n)
604 template <class _CharT, class _Traits>
605 basic_istream<_CharT, _Traits>&
606 basic_istream<_CharT, _Traits>::operator>>(void*& __n)
631 template <class _CharT, class _Traits>
632 basic_istream<_CharT, _Traits>&
633 basic_istream<_CharT, _Traits>::operator>>(short& __n)
671 template <class _CharT, class _Traits>
672 basic_istream<_CharT, _Traits>&
673 basic_istream<_CharT, _Traits>::operator>>(int& __n)
711 template <class _CharT, class _Traits>
713 basic_istream<_CharT, _Traits>&
714 basic_istream<_CharT, _Traits>::operator>>(basic_istream& (*__pf)(basic_istream&))
719 template <class _CharT, class _Traits>
721 basic_istream<_CharT, _Traits>&
722 basic_istream<_CharT, _Traits>::operator>>(basic_ios<char_type, traits_type>&
729 template <class _CharT, class _Traits>
731 basic_istream<_CharT, _Traits>&
732 basic_istream<_CharT, _Traits>::operator>>(ios_base& (*__pf)(ios_base&))
738 template<class _CharT, class _Traits>
739 basic_istream<_CharT, _Traits>&
740 operator>>(basic_istream<_CharT, _Traits>& __is, _CharT* __s)
746 typename basic_istream<_CharT, _Traits>::sentry __sen(__is);
757 typename _Traits::int_type __i = __is.rdbuf()->sgetc();
758 if (_Traits::eq_int_type(__i, _Traits::eof()))
763 _CharT __ch = _Traits::to_char_type(__i);
786 template<class _Traits>
788 basic_istream<char, _Traits>&
789 operator>>(basic_istream<char, _Traits>& __is, unsigned char* __s)
794 template<class _Traits>
796 basic_istream<char, _Traits>&
797 operator>>(basic_istream<char, _Traits>& __is, signed char* __s)
802 template<class _CharT, class _Traits>
803 basic_istream<_CharT, _Traits>&
804 operator>>(basic_istream<_CharT, _Traits>& __is, _CharT& __c)
810 typename basic_istream<_CharT, _Traits>::sentry __sen(__is);
813 typename _Traits::int_type __i = __is.rdbuf()->sbumpc();
814 if (_Traits::eq_int_type(__i, _Traits::eof()))
817 __c = _Traits::to_char_type(__i);
829 template<class _Traits>
831 basic_istream<char, _Traits>&
832 operator>>(basic_istream<char, _Traits>& __is, unsigned char& __c)
837 template<class _Traits>
839 basic_istream<char, _Traits>&
840 operator>>(basic_istream<char, _Traits>& __is, signed char& __c)
845 template<class _CharT, class _Traits>
846 basic_istream<_CharT, _Traits>&
847 basic_istream<_CharT, _Traits>::operator>>(basic_streambuf<char_type, traits_type>* __sb)
867 if (traits_type::eq_int_type(__i, _Traits::eof()))
904 template<class _CharT, class _Traits>
905 typename basic_istream<_CharT, _Traits>::int_type
906 basic_istream<_CharT, _Traits>::get()
933 template<class _CharT, class _Traits>
935 basic_istream<_CharT, _Traits>&
936 basic_istream<_CharT, _Traits>::get(char_type& __c)
944 template<class _CharT, class _Traits>
945 basic_istream<_CharT, _Traits>&
946 basic_istream<_CharT, _Traits>::get(char_type* __s, streamsize __n, char_type __dlm)
992 template<class _CharT, class _Traits>
994 basic_istream<_CharT, _Traits>&
995 basic_istream<_CharT, _Traits>::get(char_type* __s, streamsize __n)
1000 template<class _CharT, class _Traits>
1001 basic_istream<_CharT, _Traits>&
1002 basic_istream<_CharT, _Traits>::get(basic_streambuf<char_type, traits_type>& __sb,
1054 template<class _CharT, class _Traits>
1056 basic_istream<_CharT, _Traits>&
1057 basic_istream<_CharT, _Traits>::get(basic_streambuf<char_type, traits_type>& __sb)
1062 template<class _CharT, class _Traits>
1063 basic_istream<_CharT, _Traits>&
1064 basic_istream<_CharT, _Traits>::getline(char_type* __s, streamsize __n, char_type __dlm)
1115 template<class _CharT, class _Traits>
1117 basic_istream<_CharT, _Traits>&
1118 basic_istream<_CharT, _Traits>::getline(char_type* __s, streamsize __n)
1123 template<class _CharT, class _Traits>
1124 basic_istream<_CharT, _Traits>&
1125 basic_istream<_CharT, _Traits>::ignore(streamsize __n, int_type __dlm)
1178 template<class _CharT, class _Traits>
1179 typename basic_istream<_CharT, _Traits>::int_type
1180 basic_istream<_CharT, _Traits>::peek()
1205 template<class _CharT, class _Traits>
1206 basic_istream<_CharT, _Traits>&
1207 basic_istream<_CharT, _Traits>::read(char_type* __s, streamsize __n)
1233 template<class _CharT, class _Traits>
1235 basic_istream<_CharT, _Traits>::readsome(char_type* __s, streamsize __n)
1253 template<class _CharT, class _Traits>
1254 basic_istream<_CharT, _Traits>&
1255 basic_istream<_CharT, _Traits>::putback(char_type __c)
1281 template<class _CharT, class _Traits>
1282 basic_istream<_CharT, _Traits>&
1283 basic_istream<_CharT, _Traits>::unget()
1309 template<class _CharT, class _Traits>
1311 basic_istream<_CharT, _Traits>::sync()
1339 template<class _CharT, class _Traits>
1340 typename basic_istream<_CharT, _Traits>::pos_type
1341 basic_istream<_CharT, _Traits>::tellg()
1361 template<class _CharT, class _Traits>
1362 basic_istream<_CharT, _Traits>&
1363 basic_istream<_CharT, _Traits>::seekg(pos_type __pos)
1386 template<class _CharT, class _Traits>
1387 basic_istream<_CharT, _Traits>&
1388 basic_istream<_CharT, _Traits>::seekg(off_type __off, ios_base::seekdir __dir)
1410 template <class _CharT, class _Traits>
1411 basic_istream<_CharT, _Traits>&
1412 ws(basic_istream<_CharT, _Traits>& __is)
1418 typename basic_istream<_CharT, _Traits>::sentry __sen(__is, true);
1424 typename _Traits::int_type __i = __is.rdbuf()->sgetc();
1425 if (_Traits::eq_int_type(__i, _Traits::eof()))
1430 if (!__ct.is(__ct.space, _Traits::to_char_type(__i)))
1447 template <class _CharT, class _Traits, class _Tp>
1449 basic_istream<_CharT, _Traits>&
1450 operator>>(basic_istream<_CharT, _Traits>&& __is, _Tp& __x)
1458 template <class _CharT, class _Traits>
1460 : public basic_istream<_CharT, _Traits>,
1461 public basic_ostream<_CharT, _Traits>
1466 typedef _Traits traits_type;
1489 template <class _CharT, class _Traits>
1491 basic_iostream<_CharT, _Traits>::basic_iostream(basic_streambuf<char_type, traits_type>* __sb)
1492 : basic_istream<_CharT, _Traits>(__sb)
1498 template <class _CharT, class _Traits>
1500 basic_iostream<_CharT, _Traits>::basic_iostream(basic_iostream&& __rhs)
1501 : basic_istream<_CharT, _Traits>(_VSTD::move(__rhs))
1505 template <class _CharT, class _Traits>
1507 basic_iostream<_CharT, _Traits>&
1508 basic_iostream<_CharT, _Traits>::operator=(basic_iostream&& __rhs)
1516 template <class _CharT, class _Traits>
1517 basic_iostream<_CharT, _Traits>::~basic_iostream()
1521 template <class _CharT, class _Traits>
1524 basic_iostream<_CharT, _Traits>::swap(basic_iostream& __rhs)
1529 template<class _CharT, class _Traits, class _Allocator>
1530 basic_istream<_CharT, _Traits>&
1531 operator>>(basic_istream<_CharT, _Traits>& __is,
1532 basic_string<_CharT, _Traits, _Allocator>& __str)
1538 typename basic_istream<_CharT, _Traits>::sentry __sen(__is);
1552 typename _Traits::int_type __i = __is.rdbuf()->sgetc();
1553 if (_Traits::eq_int_type(__i, _Traits::eof()))
1558 _CharT __ch = _Traits::to_char_type(__i);
1582 template<class _CharT, class _Traits, class _Allocator>
1583 basic_istream<_CharT, _Traits>&
1584 getline(basic_istream<_CharT, _Traits>& __is,
1585 basic_string<_CharT, _Traits, _Allocator>& __str, _CharT __dlm)
1591 typename basic_istream<_CharT, _Traits>::sentry __sen(__is, true);
1599 typename _Traits::int_type __i = __is.rdbuf()->sbumpc();
1600 if (_Traits::eq_int_type(__i, _Traits::eof()))
1606 _CharT __ch = _Traits::to_char_type(__i);
1607 if (_Traits::eq(__ch, __dlm))
1630 template<class _CharT, class _Traits, class _Allocator>
1632 basic_istream<_CharT, _Traits>&
1633 getline(basic_istream<_CharT, _Traits>& __is,
1634 basic_string<_CharT, _Traits, _Allocator>& __str)
1641 template<class _CharT, class _Traits, class _Allocator>
1643 basic_istream<_CharT, _Traits>&
1644 getline(basic_istream<_CharT, _Traits>&& __is,
1645 basic_string<_CharT, _Traits, _Allocator>& __str, _CharT __dlm)
1650 template<class _CharT, class _Traits, class _Allocator>
1652 basic_istream<_CharT, _Traits>&
1653 getline(basic_istream<_CharT, _Traits>&& __is,
1654 basic_string<_CharT, _Traits, _Allocator>& __str)
1661 template <class _CharT, class _Traits, size_t _Size>
1662 basic_istream<_CharT, _Traits>&
1663 operator>>(basic_istream<_CharT, _Traits>& __is, bitset<_Size>& __x)
1669 typename basic_istream<_CharT, _Traits>::sentry __sen(__is);
1672 basic_string<_CharT, _Traits> __str;
1680 typename _Traits::int_type __i = __is.rdbuf()->sgetc();
1681 if (_Traits::eq_int_type(__i, _Traits::eof()))
1686 _CharT __ch = _Traits::to_char_type(__i);
1687 if (!_Traits::eq(__ch, __zero) && !_Traits::eq(__ch, __one))