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
This commit is contained in:
parent
22e4cb8c23
commit
6afe78f3ca
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// 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
|
||||||
};
|
};
|
||||||
#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
|
||||||
|
|
Loading…
Reference in New Issue