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]

[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.


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