This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: typedef in locale_facets.h


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.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]