summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/istream.tcc
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-16 03:35:50 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-16 03:35:50 +0000
commit162d60fed6f29b6a821a520cf3642f326478795e (patch)
tree21418664bffc0a711be8d7e32ff634aea6d88e95 /libstdc++-v3/include/bits/istream.tcc
parente800f249e2f807dff0966b1c849a6de56649649d (diff)
downloadgcc-162d60fed6f29b6a821a520cf3642f326478795e.tar.gz
* include/bits/istream.tcc: Use ios_base::iostate in place of
iostate throughout. Insert `typename' keyword where necessary. * include/bits/ostream.tcc: Insert `typename' keyword where necessary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39743 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/istream.tcc')
-rw-r--r--libstdc++-v3/include/bits/istream.tcc34
1 files changed, 17 insertions, 17 deletions
diff --git a/libstdc++-v3/include/bits/istream.tcc b/libstdc++-v3/include/bits/istream.tcc
index 571af891a73..fdec945365d 100644
--- a/libstdc++-v3/include/bits/istream.tcc
+++ b/libstdc++-v3/include/bits/istream.tcc
@@ -151,7 +151,7 @@ namespace std {
if (__cerb)
{
try {
- iostate __err = iostate(ios_base::goodbit);
+ ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
_M_fnumget->get(*this, 0, *this, __err, __n);
this->setstate(__err);
}
@@ -175,7 +175,7 @@ namespace std {
if (__cerb)
{
try {
- iostate __err = iostate(ios_base::goodbit);
+ ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
_M_fnumget->get(*this, 0, *this, __err, __n);
this->setstate(__err);
}
@@ -199,7 +199,7 @@ namespace std {
if (__cerb)
{
try {
- iostate __err = iostate(ios_base::goodbit);
+ ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
_M_fnumget->get(*this, 0, *this, __err, __n);
this->setstate(__err);
}
@@ -223,7 +223,7 @@ namespace std {
if (__cerb)
{
try {
- iostate __err = iostate(ios_base::goodbit);
+ ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
_M_fnumget->get(*this, 0, *this, __err, __n);
this->setstate(__err);
}
@@ -247,7 +247,7 @@ namespace std {
if (__cerb)
{
try {
- iostate __err = iostate(ios_base::goodbit);
+ ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
_M_fnumget->get(*this, 0, *this, __err, __n);
this->setstate(__err);
}
@@ -271,7 +271,7 @@ namespace std {
if (__cerb)
{
try {
- iostate __err = iostate(ios_base::goodbit);
+ ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
_M_fnumget->get(*this, 0, *this, __err, __n);
this->setstate(__err);
}
@@ -295,7 +295,7 @@ namespace std {
if (__cerb)
{
try {
- iostate __err = iostate(ios_base::goodbit);
+ ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
_M_fnumget->get(*this, 0, *this, __err, __n);
this->setstate(__err);
}
@@ -320,7 +320,7 @@ namespace std {
if (__cerb)
{
try {
- iostate __err = iostate(ios_base::goodbit);
+ ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
_M_fnumget->get(*this, 0, *this, __err, __n);
this->setstate(__err);
}
@@ -344,7 +344,7 @@ namespace std {
if (__cerb)
{
try {
- iostate __err = iostate(ios_base::goodbit);
+ ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
_M_fnumget->get(*this, 0, *this, __err, __n);
this->setstate(__err);
}
@@ -369,7 +369,7 @@ namespace std {
if (__cerb)
{
try {
- iostate __err = iostate(ios_base::goodbit);
+ ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
_M_fnumget->get(*this, 0, *this, __err, __n);
this->setstate(__err);
}
@@ -393,7 +393,7 @@ namespace std {
if (__cerb)
{
try {
- iostate __err = iostate(ios_base::goodbit);
+ ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
_M_fnumget->get(*this, 0, *this, __err, __n);
this->setstate(__err);
}
@@ -417,7 +417,7 @@ namespace std {
if (__cerb)
{
try {
- iostate __err = iostate(ios_base::goodbit);
+ ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
_M_fnumget->get(*this, 0, *this, __err, __n);
this->setstate(__err);
}
@@ -441,7 +441,7 @@ namespace std {
if (__cerb)
{
try {
- iostate __err = iostate(ios_base::goodbit);
+ ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
_M_fnumget->get(*this, 0, *this, __err, __n);
this->setstate(__err);
}
@@ -988,7 +988,7 @@ namespace std {
operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
{
typedef basic_istream<_CharT, _Traits> __istream_type;
- __istream_type::sentry __cerb(__in, false);
+ typename __istream_type::sentry __cerb(__in, false);
if (__cerb)
{
try {
@@ -1018,7 +1018,7 @@ namespace std {
typedef ctype<_CharT> __ctype_type;
int_type __extracted = 0;
- __istream_type::sentry __cerb(__in, false);
+ typename __istream_type::sentry __cerb(__in, false);
if (__cerb)
{
try {
@@ -1115,7 +1115,7 @@ namespace std {
typedef typename __string_type::size_type __size_type;
__int_type __extracted = 0;
- __istream_type::sentry __cerb(__in, false);
+ typename __istream_type::sentry __cerb(__in, false);
if (__cerb)
{
__str.erase();
@@ -1166,7 +1166,7 @@ namespace std {
__size_type __extracted = 0;
bool __testdelim = false;
- __istream_type::sentry __cerb(__in, true);
+ typename __istream_type::sentry __cerb(__in, true);
if (__cerb)
{
__str.erase();