Public Member Functions | List of all members
sigFpe::ignore Class Reference

Helper to locally ignore SIGFPE handling. More...

Public Member Functions

 ignore ()
 Constructor deactivates any previously active SIGFPE handler. More...
 
 ~ignore ()
 Destructor restores the original state of SIGFPE handler. More...
 
void restore ()
 Restore the original state of SIGFPE handler. More...
 

Detailed Description

Helper to locally ignore SIGFPE handling.

Restores the original state of the SIGFPE handler on destruction.

Definition at line 182 of file sigFpe.H.

Constructor & Destructor Documentation

◆ ignore()

ignore ( )

Constructor deactivates any previously active SIGFPE handler.

Definition at line 133 of file sigFpe.C.

References sigFpe::unset().

Here is the call graph for this function:

◆ ~ignore()

~ignore ( )

Destructor restores the original state of SIGFPE handler.

Definition at line 152 of file sigFpe.C.

Member Function Documentation

◆ restore()

void restore ( )

Restore the original state of SIGFPE handler.

Definition at line 160 of file sigFpe.C.

References sigFpe::set().

Here is the call graph for this function:

The documentation for this class was generated from the following files: