From: Paolo Carlini Date: Sat, 21 Aug 2004 14:40:53 +0000 (+0000) Subject: char_traits.h (struct _Char_traits_match): Remove, unused. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6afe78f3ca6bf5bddcb6183d406ed4fa8bbe38a1;p=gcc.git char_traits.h (struct _Char_traits_match): Remove, unused. 2004-08-21 Paolo Carlini * include/bits/char_traits.h (struct _Char_traits_match): Remove, unused. From-SVN: r86364 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 40ef639b07c..ed43a1e073a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-08-21 Paolo Carlini + + * include/bits/char_traits.h (struct _Char_traits_match): Remove, + unused. + 2004-08-21 Paolo Carlini * testsuite/22_locale/money_put/put/wchar_t/1.cc: Use proper diff --git a/libstdc++-v3/include/bits/char_traits.h b/libstdc++-v3/include/bits/char_traits.h index 323fdfb47c0..cd5c672dd19 100644 --- a/libstdc++-v3/include/bits/char_traits.h +++ b/libstdc++-v3/include/bits/char_traits.h @@ -1,6 +1,6 @@ // Character Traits for use by standard string and iostream -*- C++ -*- -// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 +// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -362,15 +362,6 @@ namespace std }; #endif //_GLIBCXX_USE_WCHAR_T - template - 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); } - }; } // namespace std #endif