Deleted Added
full compact
istream (242939) istream (246468)
1// -*- C++ -*-
2//===--------------------------- istream ----------------------------------===//
3//
4// The LLVM Compiler Infrastructure
5//
6// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
8//

--- 1229 unchanged lines hidden (view full) ---

1238#endif // _LIBCPP_NO_EXCEPTIONS
1239 return *this;
1240}
1241
1242template<class _CharT, class _Traits>
1243streamsize
1244basic_istream<_CharT, _Traits>::readsome(char_type* __s, streamsize __n)
1245{
1// -*- C++ -*-
2//===--------------------------- istream ----------------------------------===//
3//
4// The LLVM Compiler Infrastructure
5//
6// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
8//

--- 1229 unchanged lines hidden (view full) ---

1238#endif // _LIBCPP_NO_EXCEPTIONS
1239 return *this;
1240}
1241
1242template<class _CharT, class _Traits>
1243streamsize
1244basic_istream<_CharT, _Traits>::readsome(char_type* __s, streamsize __n)
1245{
1246 __gc_ = 0;
1246 streamsize __c = this->rdbuf()->in_avail();
1247 switch (__c)
1248 {
1249 case -1:
1250 this->setstate(ios_base::eofbit);
1251 break;
1252 case 0:
1253 break;

--- 466 unchanged lines hidden ---
1247 streamsize __c = this->rdbuf()->in_avail();
1248 switch (__c)
1249 {
1250 case -1:
1251 this->setstate(ios_base::eofbit);
1252 break;
1253 case 0:
1254 break;

--- 466 unchanged lines hidden ---