std::flat_multiset<Key,Compare,KeyContainer>::lower_bound
From cppreference.com
< cpp | container | flat multiset
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Containers library
(C++17)
(C++11)
(C++26)
(C++26)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++23)
(C++23)
(C++23)
(C++23)
(C++20)
(C++23)
Tables
std::flat_multiset
flat_multiset::lower_bound
iterator lower_bound( const Key& key );
(1)
(since C++23) (constexpr since C++26)
const_iterator lower_bound( const Key& key ) const;
(2)
(since C++23) (constexpr since C++26)
template< class K >
iterator lower_bound( const K& x );
(3)
(since C++23) iterator lower_bound( const K& x );
(constexpr since C++26)
template< class K >
const_iterator lower_bound( const K& x ) const;
(4)
(since C++23) const_iterator lower_bound( const K& x ) const;
(constexpr since C++26)
1,2) Returns an iterator pointing to the first element that is not less than key.
3,4) Returns an iterator pointing to the first element that compares not less than x.
This overload participates in overload resolution only if
Compare
is transparent. It allows calling this function without constructing an instance of Key
.[edit] Parameters
key
-
key value to compare the elements to
x
-
alternative value that can be compared to
Key
[edit] Return value
An iterator pointing to the first element that is not less than the given key, or end() is no such element exists.
[edit] Complexity
Logarithmic in the size of the container.
[edit] Example
This section is incomplete
Reason: no example
Reason: no example