Compartilhar via


find_if (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_if (STL/CLR).

Locates the position of the first occurrence of an element in a range that satisfies a specified condition.

Syntax

template<class _InIt, class _Pr> inline  
    _InIt find_if(_InIt _First, _InIt _Last, _Pr _Pred);  

Remarks

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

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

algorithm (STL/CLR)