Topic: iosfwd
Author: Pulkkinen Esa <esap@cs.tut.fi>
Date: 1997/03/08 Raw View
[lib.iostream.forward]:
"Header <iosfwd> synopsis
namespace std {
template<> class char_traits<char>;
template<> class char_traits<wchar_t>;
template <class charT, class traits = char_traits<charT> >
class basic_ios;"
Is it really intended that the iosfwd header doesn't include
the declaration of the primary template for char_traits<>, i.e.
template <class T> class char_traits;
The first two lines are ill-formed unless such declaration is supplied
somewhere.
(I suppose this is just a typo unless I'm missing something?)
--
Esa Pulkkinen | C++ programmers do it virtually
E-Mail: esap@cs.tut.fi | everywhere with class, resulting
WWW : http://www.cs.tut.fi/~esap/ | in multiple inheritance.
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]