Fills the array. If the destination range is a different type than the source range, the values are converted using the C++ static_cast operator. The source values are repeated until all the space in the destination is exhausted.
int32 Fill( Int16Iterator first, Int16Iterator last, TypedIterator src )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Int16Iterator> | first | An iterator at the start of the range you wish to fill. |
<Int16Iterator> | last | An iterator at the end of the range you wish to fill. |
<TypedIterator> | src | An iterator to the start of the source range, or an iterator that points at a single value. You don't need an end iterator here because the all iterators specify a position and a count. The span of this iterator will be copied, from the start to end, over all the space in the destination. |
None published. Please look for an example in the Scenome Scripting Language code base.