count (STL/CLR)

返回元素数。值与指定值的大小。

template<class _InIt, class _Ty> inline
    typename iterator_traits<_InIt>::difference_type
        count(_InIt _First, _InIt _Last, const _Ty% _Val);

备注

此功能相同的行为就如同 STL 功能 count的。有关更多信息,请参见 count

要求

标题: <cliext/算法>

命名空间: cliext

请参见

参考

algorithm (STL/CLR)