Fill assigns the value value to every element in the range [first, last). That is, for every iterator i in [first, first+N), it performs the assignment *i = value.
More...
#include </home/runner/work/tfel/tfel/include/TFEL/FSAlgorithm/fill.hxx>
|
| template<typename OutputIterator, typename T> |
| static void | exe (OutputIterator p, const T &q) |
template<unsigned int N>
class tfel::fsalgo::fill< N >
Fill assigns the value value to every element in the range [first, last). That is, for every iterator i in [first, first+N), it performs the assignment *i = value.
- Template Parameters
-
| N | number of elements to be filled. |
This documentation is mostly inspired from: http://www.sgi.com/tech/stl/fill.html
- Author
- Thomas Helfer
- Date
- 30/06/2006
◆ exe()
template<unsigned int N>
template<typename OutputIterator, typename T>
- Parameters
-
| p | iterator to the elements being filled. |
| q | value. |
The documentation for this class was generated from the following file: