[RFA] Shall we remove _Char_traits_match for 3.5?

Gabriel Dos Reis gdr@integrable-solutions.net
Sat Aug 21 13:26:00 GMT 2004


Paolo Carlini <pcarlini@suse.de> writes:

| Hi,
| 
| in include/bits/char_traits.h, we can find this template:
| 
|   template<typename _CharT, typename _Traits>
|     struct _Char_traits_match
|     {
|       _CharT _M_c;
|       _Char_traits_match(_CharT const& __c) : _M_c(__c) { }
| 
|       bool
|       operator()(_CharT const& __a) { return _Traits::eq(_M_c, __a); }
|     };
| 
| which, currently at least (I mean, 3.3, 3.4, and mainline), seems completely
| unused. I'm tempted to remove it from mainline: anyone objects?

OK with me.

-- Gaby



More information about the Libstdc++ mailing list