ReplaceIfNotEqual Data Member Function

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

Prototype

int32 ReplaceIfNotEqual( Uint8Iterator first, Uint8Iterator last, uint8 src, uint8 dst )

Parameters

Parameter Type Parameter Name Documentation
<Uint8Iterator>firstAn iterator at the start of the range.
<Uint8Iterator>lastAn iterator at the end of the range.
<uint8>srcThe sentinel value.
<uint8>dstThe replacement value.

Examples

Copy Text To Clipboard

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