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...
 
 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 146 of file sigFpe.H.

Constructor & Destructor Documentation

◆ ignore() [1/2]

ignore ( )

Constructor deactivates any previously active SIGFPE handler.

Definition at line 105 of file sigFpe.C.

References triad::unset.

◆ ~ignore() [1/2]

~ignore ( )

Destructor restores the original state of SIGFPE handler.

Definition at line 124 of file sigFpe.C.

◆ ignore() [2/2]

ignore ( )

Constructor deactivates any previously active SIGFPE handler.

◆ ~ignore() [2/2]

~ignore ( )

Destructor restores the original state of SIGFPE handler.

Member Function Documentation

◆ restore() [1/2]

void restore ( )

Restore the original state of SIGFPE handler.

Definition at line 132 of file sigFpe.C.

References triad::set().

Here is the call graph for this function:

◆ restore() [2/2]

void restore ( )

Restore the original state of SIGFPE handler.


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