Table of Contents
Previous Section Next Section

count

template <class InIter, class T>    ptrdiff_t count(InIter start, InIter end, const T &val);

The count( ) algorithm returns the number of elements in the sequence beginning at start and ending at end that match val. The type ptrdiff_t is defined as some form of integer.


Table of Contents
Previous Section Next Section