Skip to content

Latest commit

 

History

History
57 lines (51 loc) · 1.21 KB

File metadata and controls

57 lines (51 loc) · 1.21 KB
title count (STL/CLR) | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic reference
f1_keywords
cliext::count
dev_langs
C++
helpviewer_keywords
count function [STL/CLR]
ms.assetid 6d10abb4-3c48-469c-804c-281015b12865
caps.latest.revision 4
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

count (STL/CLR)

Returns the number of elements in a range whose values match a specified value.

Syntax

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

Remarks

This function behaves the same as the C++ Standard Library function count. For more information, see count.

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

algorithm (STL/CLR)