This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: typedef in locale_facets.h
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Wolfgang Bangerth <wolfgang dot bangerth at iwr dot uni-heidelberg dot de>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 11 Mar 2002 15:36:55 +0100
- Subject: Re: typedef in locale_facets.h
- References: <Pine.SOL.4.10.10203111516040.334-100000@eros>
Wolfgang Bangerth wrote:
>In locale_facets.h, we find:
> template<typename _CharT>
> class ctype : public __ctype_abstract_base<_CharT>
> {
> public:
> // Types:
> typedef _CharT char_type;
> typedef typename ctype::mask mask;
>
Yes, we can fix it, as you suggest, but even better is fixing the
front-end not to emit the warning, which is /wrong/ in this specific case.
See c++/5507 and references therein.
Ciao,
P.