re PR libstdc++/31440 (libstdc++-g++-v3 discarded qualifiers)
authorPaolo Carlini <pcarlini@suse.de>
Tue, 3 Apr 2007 08:32:31 +0000 (08:32 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 3 Apr 2007 08:32:31 +0000 (08:32 +0000)
commitf7e52577137bb5d0e7501475eab47331a41fac67
tree289abca05a130c779f1723ddf73de9859252d39f
parent5be527d081efb7c875ac3d1ae4df66c6e9388a81
re PR libstdc++/31440 (libstdc++-g++-v3 discarded qualifiers)

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

PR libstdc++/31440
* include/bits/stl_tree.h (_M_lower_bound(_Link_type, _Link_type,
const _Key&), _M_upper_bound(_Link_type, _Link_type, const _Key&)):
Add.
(_M_equal_range(const _Key&) const): Remove.
(lower_bound(const key_type&), lower_bound(const key_type&) const,
upper_bound(const key_type&), upper_bound(const key_type&) const,
equal_range(const key_type&), equal_range(const key_type&) const):
Adjust.
(find(const _Key&), find(const _Key&) const): Tweak.
* testsuite/23_containers/map/operations/31440.cc: New.

From-SVN: r123452
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_tree.h
libstdc++-v3/testsuite/23_containers/map/operations/31440.cc [new file with mode: 0644]