Location:
Link against:
TRAPD(_r,_s) TInt _r;{TTrap __t;if (__t.Trap(_r)==0){_s;TTrap::UnTrap();}}
Supported from 5.0
Use this macro in the same way as you would TRAP
, except
that the variable _r
is defined as part of the macro (and is
therefore valid for the rest of the block in which the macro occurs). Often,
this saves a line of code.
|