Partager via


find (STL/CLR)

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at find (STL/CLR).

Locates the position of the first occurrence of an element in a range that has a specified value.

Syntax

template<class _InIt, class _Ty> inline  
    _InIt find(_InIt _First, _InIt _Last, const _Ty% _Val);  

Remarks

This function behaves the same as the STL function find. For more information, see find.

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

algorithm (STL/CLR)