summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/std/istream
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-03 22:32:08 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-03 22:32:08 +0000
commit5a165b37de3be7df92c00c3fb7efc6ab2c9fa447 (patch)
treed627b29f9a00ade7145b434c906b9453791ea894 /libstdc++-v3/include/std/istream
parentc2ef487a72ebd70cbdef5a744d9def6505c1a1e4 (diff)
downloadppe42-gcc-5a165b37de3be7df92c00c3fb7efc6ab2c9fa447.tar.gz
ppe42-gcc-5a165b37de3be7df92c00c3fb7efc6ab2c9fa447.zip
2009-01-03 Paolo Carlini <paolo.carlini@oracle.com>
* Revert last commit, reopen and suspend libstdc++/38678. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143038 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/istream')
-rw-r--r--libstdc++-v3/include/std/istream19
1 files changed, 1 insertions, 18 deletions
diff --git a/libstdc++-v3/include/std/istream b/libstdc++-v3/include/std/istream
index f88b2f2c07c..8b87c73fc1b 100644
--- a/libstdc++-v3/include/std/istream
+++ b/libstdc++-v3/include/std/istream
@@ -1,7 +1,7 @@
// Input streams -*- C++ -*-
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-// 2006, 2007, 2008, 2009
+// 2006, 2007, 2008
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -586,28 +586,11 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
: _M_gcount(streamsize(0))
{ this->init(0); }
- streamsize
- _M_read(char_type* __s, streamsize __n);
-
template<typename _ValueT>
__istream_type&
_M_extract(_ValueT& __v);
};
- template<>
- inline streamsize
- basic_istream<char>::
- _M_read(char_type* __s, streamsize __n)
- { return this->rdbuf()->__streambuf_type::xsgetn(__s, __n); }
-
-#ifdef _GLIBCXX_USE_WCHAR_T
- template<>
- inline streamsize
- basic_istream<wchar_t>::
- _M_read(char_type* __s, streamsize __n)
- { return this->rdbuf()->__streambuf_type::xsgetn(__s, __n); }
-#endif
-
// Explicit specialization declarations, defined in src/istream.cc.
template<>
basic_istream<char>&
OpenPOWER on IntegriCloud