+2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/char_traits.h: Update copyright, tweak.
+ * testsuite/ext/pod_char_traits.cc: Explicitly qualifiy namespace
+ std types.
+
2003-07-24 Matt Austern <austern@apple.com>
* /include/bits/char_traits.h (class char_traits): Put all the
// Character Traits for use by standard string and iostream -*- C++ -*-
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
namespace __gnu_cxx
{
-
/**
* @brief Mapping from character type to associated types.
*
*/
template<class _CharT>
struct char_traits
- : public __gnu_cxx::char_traits<_CharT>
+ : public __gnu_cxx::char_traits<_CharT>
{ };
int main()
{
- using namespace std;
using namespace __gnu_cxx;
typedef unsigned short value_type;
test = traits_type::eq(c1, c2);
// 3 basic_string<char_type>
- typedef basic_string<char_type> string_type;
+ typedef std::basic_string<char_type> string_type;
string_type str;
char_type c3 = { value_type('b') };
char_type c4 = { value_type('o') };