OSDN Git Service

2005-12-18 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / ext / hash_map / 14648.cc
index e78e1c0..91f8240 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2004 Free Software Foundation
+// Copyright (C) 2004, 2005 Free Software Foundation
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
 // libstdc++/14648
 void test01() 
 { 
-  using namespace std; 
   using namespace __gnu_cxx;
 
-  typedef hash_map<char, crope, hash<char>, equal_to<char> > maptype; 
+  typedef hash_map<char, crope, hash<char>, std::equal_to<char> > maptype; 
   maptype m; 
   m['l'] = "50";
   m['x'] = "10";
-  cout << "m['x'] = " << m['x'] << endl; 
+  std::cout << "m['x'] = " << m['x'] << std::endl; 
 }  
 
 int main()