Commit b66ea7d4 by Benjamin Kosnik Committed by Benjamin Kosnik

char_traits.h: Update copyright, tweak.


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.

From-SVN: r69791
parent 22038b2c
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
......@@ -48,7 +48,6 @@
namespace __gnu_cxx
{
/**
* @brief Mapping from character type to associated types.
*
......@@ -224,7 +223,7 @@ namespace std
*/
template<class _CharT>
struct char_traits
: public __gnu_cxx::char_traits<_CharT>
: public __gnu_cxx::char_traits<_CharT>
{ };
......
......@@ -34,7 +34,6 @@
int main()
{
using namespace std;
using namespace __gnu_cxx;
typedef unsigned short value_type;
......@@ -55,7 +54,7 @@ int main()
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') };
......
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