sigFpe::ignore Class Reference

Helper to locally ignore SIGFPE handling. More...

Public Member Functions

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

Detailed Description

Helper to locally ignore SIGFPE handling.

Restores the original state of the SIGFPE handler on destruction.

Definition at line 174 of file sigFpe.H.

Constructor & Destructor Documentation

◆ ignore() [1/3]

ignore ( const ignore )
delete

No copy construct.

◆ ignore() [2/3]

ignore ( ignore &&  )
delete

No move construct.

◆ ignore() [3/3]

ignore ( )
inline

Constructor deactivates any previously active SIGFPE handler.

Definition at line 206 of file sigFpe.H.

References sigFpe::unset().

Here is the call graph for this function:

◆ ~ignore()

~ignore ( )
inline

Destructor restores the original state of SIGFPE handler.

Definition at line 219 of file sigFpe.H.

References sigFpe::ignore::reset().

Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/2]

void operator= ( const ignore )
delete

No copy assignment.

◆ operator=() [2/2]

void operator= ( ignore &&  )
delete

No move assignment.

◆ reset()

void reset ( )
inline

Restore the original state of SIGFPE handler.

Definition at line 224 of file sigFpe.H.

References sigFpe::set().

Referenced by sigFpe::ignore::restore(), and sigFpe::ignore::~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 236 of file sigFpe.H.

References sigFpe::ignore::reset().

Here is the call graph for this function:

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