std::flat_set<Key,Compare,KeyContainer>::count

Returns the number of elements with key that compares equivalent to the specified argument.

# Declarations

size_type count( const Key& key ) const;

(since C++23)

template< class K >
size_type count( const K& x ) const;

(since C++23)

# Parameters

# Return value

Number of elements with key that compares equivalent to key or x, which, for overload (1), is either 1 or 0.

# Example

This section is incompleteReason: no example

# See also