simple-binary-encoding icon indicating copy to clipboard operation
simple-binary-encoding copied to clipboard

Ability to set the code to execute on a failed bounds check.

Open kdoherty2 opened this issue 7 years ago • 2 comments

Be able to set the code to execute on a failed bounds check. eg. assert() so a fail would call abort().

kdoherty2 avatar Oct 12 '18 19:10 kdoherty2

Can you provide a worked example of how this would be setup and function? Would it be a macro to be inserted that would default to a noop?

mjpt777 avatar Nov 09 '18 21:11 mjpt777

Yes, I was thinking about macro (or some alternative way to provide a piece of code to SBE Tool to inject). I would say the default behavior should be the same as current (currently it throws, right?).

VSol-ll avatar Nov 12 '18 10:11 VSol-ll