Commit 87a0c779 by Paolo Carlini Committed by Paolo Carlini

re PR libstdc++/47668 (missing 'typename' in debug-mode map)

2011-02-09  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/47668
	* include/debug/map.h (map): Remove unnecessary using-declaration.
	* include/debug/multimap.h (multimap): Likewise.
	* include/profile/map.h (map): Likewise.
	* include/profile/multimap.h (multimap): Likewise.

From-SVN: r169990
parent 2bddc509
2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/47668
* include/debug/map.h (map): Remove unnecessary using-declaration.
* include/debug/multimap.h (multimap): Likewise.
* include/profile/map.h (map): Likewise.
* include/profile/multimap.h (multimap): Likewise.
2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com> 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/43863 PR libstdc++/43863
......
// Debugging map implementation -*- C++ -*- // Debugging map implementation -*- C++ -*-
// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010 // Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011
// 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
...@@ -73,8 +73,6 @@ namespace __debug ...@@ -73,8 +73,6 @@ namespace __debug
typedef std::reverse_iterator<iterator> reverse_iterator; typedef std::reverse_iterator<iterator> reverse_iterator;
typedef std::reverse_iterator<const_iterator> const_reverse_iterator; typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
using _Base::value_compare;
// 23.3.1.1 construct/copy/destroy: // 23.3.1.1 construct/copy/destroy:
explicit map(const _Compare& __comp = _Compare(), explicit map(const _Compare& __comp = _Compare(),
const _Allocator& __a = _Allocator()) const _Allocator& __a = _Allocator())
......
// Debugging multimap implementation -*- C++ -*- // Debugging multimap implementation -*- C++ -*-
// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010 // Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011
// 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
...@@ -74,8 +74,6 @@ namespace __debug ...@@ -74,8 +74,6 @@ namespace __debug
typedef std::reverse_iterator<iterator> reverse_iterator; typedef std::reverse_iterator<iterator> reverse_iterator;
typedef std::reverse_iterator<const_iterator> const_reverse_iterator; typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
using _Base::value_compare;
// 23.3.1.1 construct/copy/destroy: // 23.3.1.1 construct/copy/destroy:
explicit multimap(const _Compare& __comp = _Compare(), explicit multimap(const _Compare& __comp = _Compare(),
const _Allocator& __a = _Allocator()) const _Allocator& __a = _Allocator())
......
// Profiling map implementation -*- C++ -*- // Profiling map implementation -*- C++ -*-
// Copyright (C) 2009, 2010 Free Software Foundation, Inc. // Copyright (C) 2009, 2010, 2011 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
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -68,8 +68,6 @@ namespace __profile ...@@ -68,8 +68,6 @@ namespace __profile
typedef std::reverse_iterator<iterator> reverse_iterator; typedef std::reverse_iterator<iterator> reverse_iterator;
typedef std::reverse_iterator<const_iterator> const_reverse_iterator; typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
using _Base::value_compare;
// 23.3.1.1 construct/copy/destroy: // 23.3.1.1 construct/copy/destroy:
explicit explicit
map(const _Compare& __comp = _Compare(), map(const _Compare& __comp = _Compare(),
......
// Profiling multimap implementation -*- C++ -*- // Profiling multimap implementation -*- C++ -*-
// Copyright (C) 2009, 2010 Free Software Foundation, Inc. // Copyright (C) 2009, 2010, 2011 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
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -63,8 +63,6 @@ namespace __profile ...@@ -63,8 +63,6 @@ namespace __profile
typedef typename _Base::pointer pointer; typedef typename _Base::pointer pointer;
typedef typename _Base::const_pointer const_pointer; typedef typename _Base::const_pointer const_pointer;
using _Base::value_compare;
// 23.3.1.1 construct/copy/destroy: // 23.3.1.1 construct/copy/destroy:
explicit multimap(const _Compare& __comp = _Compare(), explicit multimap(const _Compare& __comp = _Compare(),
const _Allocator& __a = _Allocator()) const _Allocator& __a = _Allocator())
......
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