Commit eb9af792 by Paolo Carlini Committed by Paolo Carlini

stl_map.h (map<>::insert(iterator, const value_type&): Uglify parameter.

2007-04-03  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_map.h (map<>::insert(iterator, const value_type&):
	Uglify parameter.

From-SVN: r123453
parent f7e52577
2007-04-03 Paolo Carlini <pcarlini@suse.de> 2007-04-03 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_map.h (map<>::insert(iterator, const value_type&):
Uglify parameter.
2007-04-03 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/31440 PR libstdc++/31440
* include/bits/stl_tree.h (_M_lower_bound(_Link_type, _Link_type, * include/bits/stl_tree.h (_M_lower_bound(_Link_type, _Link_type,
const _Key&), _M_upper_bound(_Link_type, _Link_type, const _Key&)): const _Key&), _M_upper_bound(_Link_type, _Link_type, const _Key&)):
......
// Map implementation -*- C++ -*- // Map implementation -*- C++ -*-
// Copyright (C) 2001, 2002, 2004, 2005, 2006 Free Software Foundation, Inc. // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
// 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
...@@ -394,7 +395,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD) ...@@ -394,7 +395,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD)
* *
* Insertion requires logarithmic time. * Insertion requires logarithmic time.
*/ */
std::pair<iterator,bool> std::pair<iterator, bool>
insert(const value_type& __x) insert(const value_type& __x)
{ return _M_t._M_insert_unique(__x); } { return _M_t._M_insert_unique(__x); }
...@@ -422,8 +423,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD) ...@@ -422,8 +423,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD)
* Insertion requires logarithmic time (if the hint is not taken). * Insertion requires logarithmic time (if the hint is not taken).
*/ */
iterator iterator
insert(iterator position, const value_type& __x) insert(iterator __position, const value_type& __x)
{ return _M_t._M_insert_unique_(position, __x); } { return _M_t._M_insert_unique_(__position, __x); }
/** /**
* @brief Template function that attemps to insert a range of elements. * @brief Template function that attemps to insert a range of elements.
......
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