g++-v3/bits/stringfwd.h - inconsistent declaration of char_traits
Gabriel Dos Reis
Gabriel.Dos-Reis@cmla.ens-cachan.fr
Wed Jul 11 05:50:00 GMT 2001
Ryszard Kabatek <Ryszard.Kabatek@softax.pl> writes:
| In stringfwd.h I found the following declarations:
|
| namespace std
| {
| template<class _CharT>
| struct char_traits;
|
| template<> class char_traits<char>;
| #ifdef _GLIBCPP_USE_WCHAR_T
| template<> class char_traits<wchar_t>;
| #endif
| std::char_traits is a struct and its specializations
| are structs too, not classes.
Really?
-- Gaby
More information about the Libstdc++
mailing list