Commit 6afe78f3 by Paolo Carlini Committed by Paolo Carlini

char_traits.h (struct _Char_traits_match): Remove, unused.

2004-08-21  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/char_traits.h (struct _Char_traits_match): Remove,
	unused.

From-SVN: r86364
parent 22e4cb8c
2004-08-21 Paolo Carlini <pcarlini@suse.de> 2004-08-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/char_traits.h (struct _Char_traits_match): Remove,
unused.
2004-08-21 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/money_put/put/wchar_t/1.cc: Use proper * testsuite/22_locale/money_put/put/wchar_t/1.cc: Use proper
wchar_t type for the fill argument; minor formatting tweaks. wchar_t type for the fill argument; minor formatting tweaks.
* testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise. * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
......
// Character Traits for use by standard string and iostream -*- C++ -*- // 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. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -362,15 +362,6 @@ namespace std ...@@ -362,15 +362,6 @@ namespace std
}; };
#endif //_GLIBCXX_USE_WCHAR_T #endif //_GLIBCXX_USE_WCHAR_T
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); }
};
} // namespace std } // namespace std
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment