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... | |
Helper to locally ignore SIGFPE handling.
Restores the original state of the SIGFPE handler on destruction.
|
inline |
Constructor deactivates any previously active SIGFPE handler.
Definition at line 206 of file sigFpe.H.
References sigFpe::unset().
|
inline |
Destructor restores the original state of SIGFPE handler.
Definition at line 219 of file sigFpe.H.
References sigFpe::ignore::reset().
|
delete |
No copy assignment.
|
delete |
No move assignment.
|
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().
|
inline |
Same as reset()
Definition at line 236 of file sigFpe.H.
References sigFpe::ignore::reset().