[RFA] Shall we remove _Char_traits_match for 3.5?

Paolo Carlini pcarlini@suse.de
Sat Aug 21 11:27:00 GMT 2004


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.



More information about the Libstdc++ mailing list