ReplaceIfGreater Data Member Function

Replaces values in the range that are greater than the sentinel.

Prototype

int32 ReplaceIfGreater( Int64Iterator first, Int64Iterator last, int64 src, int64 dst )

Parameters

Parameter Type Parameter Name Documentation
<Int64Iterator>firstAn iterator at the start of the range.
<Int64Iterator>lastAn iterator at the end of the range.
int64srcThe sentinel value.
int64dstThe replacement value.

Examples

Copy Text To Clipboard

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