Loading...
Searching...
No Matches
sigFpe::ignore Class Reference

Helper to locally ignore SIGFPE handling. More...

#include <sigFpe.H>

Public Member Functions

 ignore (const ignore &)=delete
 No copy construct.
 ignore (ignore &&)=delete
 No move construct.
void operator= (const ignore &)=delete
 No copy assignment.
void operator= (ignore &&)=delete
 No move assignment.
 ignore ()
 Constructor deactivates any previously active SIGFPE handler.
 ~ignore ()
 Destructor restores the original state of SIGFPE handler.
void reset ()
 Restore the original state of SIGFPE handler.
void restore ()
 Same as reset().

Detailed Description

Helper to locally ignore SIGFPE handling.

Restores the original state of the SIGFPE handler on destruction.

Definition at line 236 of file sigFpe.H.

Constructor & Destructor Documentation

◆ ignore() [1/3]

ignore ( const ignore & )
delete

No copy construct.

References ignore().

Referenced by ignore(), ignore(), operator=(), and operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ignore() [2/3]

ignore ( ignore && )
delete

No move construct.

References ignore().

Here is the call graph for this function:

◆ ignore() [3/3]

ignore ( )
inline

Constructor deactivates any previously active SIGFPE handler.

Definition at line 268 of file sigFpe.H.

References sigFpe::active(), sigFpe::sigFpe(), and sigFpe::unset().

Here is the call graph for this function:

◆ ~ignore()

~ignore ( )
inline

Destructor restores the original state of SIGFPE handler.

Definition at line 281 of file sigFpe.H.

References reset().

Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/2]

void operator= ( const ignore & )
delete

No copy assignment.

References ignore().

Here is the call graph for this function:

◆ operator=() [2/2]

void operator= ( ignore && )
delete

No move assignment.

References ignore().

Here is the call graph for this function:

◆ reset()

void reset ( )
inline

Restore the original state of SIGFPE handler.

Definition at line 286 of file sigFpe.H.

References sigFpe::set().

Referenced by restore(), and ~ignore().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ restore()

void restore ( )
inline

Same as reset().

Definition at line 298 of file sigFpe.H.

References reset().

Here is the call graph for this function:

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