ReplaceIfGreater Data Member Function

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

Prototype

int32 ReplaceIfGreater( Int16Iterator first, Int16Iterator last, int16 src, int16 dst )

Parameters

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

Examples

Copy Text To Clipboard

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