for_each (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 for_each (STL/CLR).
Applies a specified function object to each element in a forward order within a range and returns the function object.
Syntax
template<class _InIt, class _Fn1> inline
_Fn1 for_each(_InIt _First, _InIt _Last, _Fn1 _Func);
Remarks
This function behaves the same as the STL function for_each
. For more information, see for_each.
Requirements
Header: <cliext/algorithm>
Namespace: cliext