This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[RFA] Shall we remove _Char_traits_match for 3.5?
- From: Paolo Carlini <pcarlini at suse dot de>
- To: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Sat, 21 Aug 2004 13:29:02 +0200
- Subject: [RFA] Shall we remove _Char_traits_match for 3.5?
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?
Thanks,
Paolo.