Can you violate invariant within an operation



Hello!

Is it right that you are allowed to violate invariant when executing an
operation but before you
exit the operation the invariant must be valid again.

Can somebody give some example of this matter.

//Tony


.