File: count.yo

package info (click to toggle)
c%2B%2B-annotations 11.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,952 kB
  • sloc: cpp: 20,008; makefile: 1,502; ansic: 165; sh: 121; perl: 90
file content (17 lines) | stat: -rw-r--r-- 569 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
    hi(count)
    itemization(
        it() Header file: tt(<algorithm>)
        it() Function prototype:
        itemization(
            itt(size_t count(InputIterator first, InputIterator last, Type
const &value);)
        )
        it() Description:
        itemization(
            it() The number of times tt(value) occurs in the iterator range
rangett(first, last) is returned.  Uses tt(Type::operator==) to determine
whether tt(value) is equal to an element in the iterator range.
        )
        it() Example:
        verbinclude(-a examples/count.cc)
    )