Fill Data Member Function

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.

Prototype

int32 Fill( Float64Iterator first, Float64Iterator last, TypedIterator src )

Parameters

Parameter Type Parameter Name Documentation
<Float64Iterator>firstAn iterator at the start of the range you wish to fill.
<Float64Iterator>lastAn iterator at the end of the range you wish to fill.
<TypedIterator>srcAn 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.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.