PR78134 fix return types of heterogeneous lookup functions
authorJonathan Wakely <jwakely@redhat.com>
Wed, 11 Jan 2017 14:44:15 +0000 (14:44 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 11 Jan 2017 14:44:15 +0000 (14:44 +0000)
commitb744bf4e18d4c1422cdffbfeed30490252b3f64e
tree48847db03ec1196eef3c45fb526c01628aba990d
parentb091b8dc0b9fdfe157da5a738e8cbb360143fc9e
PR78134 fix return types of heterogeneous lookup functions

PR libstdc++/78134
* include/bits/stl_map.h (map::lower_bound, map::upper_bound)
(map::equal_range): Fix return type of heterogeneous overloads.
* include/bits/stl_multimap.h (multimap::lower_bound)
(multimap::upper_bound, multimap::equal_range): Likewise.
* include/bits/stl_multiset.h (multiset::lower_bound)
(multiset::upper_bound, multiset::equal_range): Likewise.
* include/bits/stl_set.h (set::lower_bound, set::upper_bound)
(set::equal_range): Likewise.
* testsuite/23_containers/map/operations/2.cc
* testsuite/23_containers/multimap/operations/2.cc
* testsuite/23_containers/multiset/operations/2.cc
* testsuite/23_containers/set/operations/2.cc

From-SVN: r244318
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_map.h
libstdc++-v3/include/bits/stl_multimap.h
libstdc++-v3/include/bits/stl_multiset.h
libstdc++-v3/include/bits/stl_set.h
libstdc++-v3/testsuite/23_containers/map/operations/2.cc
libstdc++-v3/testsuite/23_containers/multimap/operations/2.cc
libstdc++-v3/testsuite/23_containers/multiset/operations/2.cc
libstdc++-v3/testsuite/23_containers/set/operations/2.cc