ReplaceIfNotEqual Data Member Function

Replaces values in the range that are not equal to the sentinel.

Prototype

int32 ReplaceIfNotEqual( Int8Iterator first, Int8Iterator last, int32 src, int32 dst )

Parameters

Parameter Type Parameter Name Documentation
<Int8Iterator>firstAn iterator at the start of the range.
<Int8Iterator>lastAn iterator at the end of the range.
int32srcThe sentinel value.
int32dstThe replacement value.

Examples

Copy Text To Clipboard

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