Dela via


fill (STL/CLR)

Assigns the same new value to every element in a specified range.

template<class _FwdIt, class _Ty> inline
    void fill(_FwdIt _First, _FwdIt _Last, const _Ty% _Val);

Remarks

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

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

Reference

algorithm (STL/CLR)