count [C++ Reference]
Keywords: stl,multiset,count
Date: 2009-10-09T06:10:31-0700

[[count]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## count

Syntax:

        #include <set>
        size_type count( const key_type& key ) const;

The function count() returns the number of occurrences of key in the multiset. count() should run in logarithmic time.

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •