已不再支援此瀏覽器。
請升級至 Microsoft Edge,以利用最新功能、安全性更新和技術支援。
指派相同的新值給指定的範圍內的每個項目。
template<class _FwdIt, class _Ty> inline void fill(_FwdIt _First, _FwdIt _Last, const _Ty% _Val);
這個函式行為和 STL 函式一樣fill。如需詳細資訊,請參閱 fill。
標頭: < cliext/演算法 >
Namespace: cliext
algorithm (STL/CLR)