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. If there are more values in the source range than the destination, the values are repeated until all the space in the destination is exhausted.
int32 Fill( Uint8Iterator first, Uint8Iterator last, TypedIterator dest )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Uint8Iterator> | first | An iterator at the start of the range you wish to fill. |
<Uint8Iterator> | last | An iterator at the end of the range you wish to fill. |
<TypedIterator> | dest | 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.