1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++03, c++11
15 // iterator lower_bound(const key_type& k);
16 // const_iterator lower_bound(const key_type& k) const;
18 // The member function templates find, count, lower_bound, upper_bound, and
19 // equal_range shall not participate in overload resolution unless the
20 // qualified-id Compare::is_transparent is valid and denotes a type
25 #include "test_macros.h"
26 #include "is_transparent.h"
31 typedef std::map
<int, double, transparent_less_not_a_type
> M
;
33 TEST_IGNORE_NODISCARD
M().lower_bound(C2Int
{5});