std::flat_multimap<Key,T,Compare,KeyContainer,MappedContainer>::upper_bound

1,2) Returns an iterator pointing to the first element that is greater than key.

# Declarations

iterator upper_bound( const Key& key );

(since C++23)

const_iterator upper_bound( const Key& key ) const;

(since C++23)

template< class K >
iterator upper_bound( const K& x );

(since C++23)

template< class K >
const_iterator upper_bound( const K& x ) const;

(since C++23)

# Parameters

# Return value

Iterator pointing to the first element that is greater than key. If no such element is found, past-the-end (see end()) iterator is returned.

# Example

This section is incompleteReason: no example

# See also