void fill (ForwardIterator first, ForwardIterator last, const T& value) | Function |
OutputIterator fill_n (OutputIterator first, Size n, const T& value) | Function |
templatevoid fill(ForwardIterator first, ForwardIterator last, const T& value); template OutputIterator fill_n(OutputIterator first, Size n, const T& value);
fill assigns value through all the iterators in the range [first, last) or [first, first + n). fill_n returns first + n. Exactly last - first (or n) assignments are done.
|
|