Changing Actions Midstream
Because the Objection
ignore() operations return the previous value of
the action associated with that Objection,
a user can change an action for a particular
section of a program, saving the previous value,
and then restore the old value at
a later point.
For instance, suppose a client programmer wants to invoke the default
action for the
Stack::overflow Objection just for
the duration of some subroutine.
The subroutine can then be written as follows:
save_action = Stack::overflow.appoint();
// body of the function
Setjmp and Longjmp with Objections
Superseding an Objection
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005