]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/3349 (bug in map::insert(p,t))
authorSylvain Pion <Sylvain.Pion@sophia.inria.fr>
Fri, 24 Aug 2001 17:40:31 +0000 (19:40 +0200)
committerPhil Edwards <pme@gcc.gnu.org>
Fri, 24 Aug 2001 17:40:31 +0000 (17:40 +0000)
commitf2c333a19db8f4a917ad0a64ef4bd818a8865d89
tree53b0e222ef6f3b0cdd8cdf6846285bad3fad06e7
parent224b7b7b0c8a69e60e87a871a9ed828c99f389d8
re PR libstdc++/3349 (bug in map::insert(p,t))

2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
            Phil Edwards  <pme@sources.redhat.com>

PR libstdc++/3349
* include/bits/stl_tree.h (insert_unique):  Revert last change.
Values inserted at begin() must be less, not greater, than *begin()'s.
* testsuite/23_containers/map_insert.cc:  New file.

Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r45155
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_tree.h
libstdc++-v3/testsuite/23_containers/map_insert.cc [new file with mode: 0644]