+2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
+
+ * bits/std_bitset.h (operator>>): Change to char_type.
+
2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* src/locale.cc (locale::locale(const char* __name)): Consolidate
basic_istream<_CharT, _Traits>&
operator>>(basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
{
+ typedef typename _Traits::char_type char_type;
basic_string<_CharT, _Traits> __tmp;
__tmp.reserve(_Nb);
break;
}
else {
- char __c2 = _Traits::to_char_type(__c1);
- char __c = __is.narrow(__c2, '*');
+ char_type __c2 = _Traits::to_char_type(__c1);
+ char_type __c = __is.narrow(__c2, '*');
if (__c == '0' || __c == '1')
__tmp.push_back(__c);