This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFA] Shall we remove _Char_traits_match for 3.5?
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: 21 Aug 2004 15:25:04 +0200
- Subject: Re: [RFA] Shall we remove _Char_traits_match for 3.5?
- Organization: Integrable Solutions
- References: <412731FE.1050401@suse.de>
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