|
ftz 0.0.1
Fast, reproducible floating-point arithmetic
|
Temporarily restores the enclosing region's caller environment for external code. Saves the current numerical state and reinstates it on return or unwind. The enclosing region must outlive this guard; both guards belong to the same thread. More...
Public Member Functions | |
| external_scope (native_fp32_scope const ®ion) noexcept | |
| Saves the current state, then restores region.previous() on the same thread. | |
| ~external_scope () noexcept | |
| Restores the numerical state captured by this external-call guard. | |
| external_scope (external_scope const &)=delete | |
| Disallows transfer of a guard whose restoration belongs to its constructing thread. | |
| external_scope & | operator= (external_scope const &)=delete |
| Disallows transfer of a guard whose restoration belongs to its constructing thread. | |
| external_scope (external_scope &&)=delete | |
| Disallows transfer of a guard whose restoration belongs to its constructing thread. | |
| external_scope & | operator= (external_scope &&)=delete |
| Disallows transfer of a guard whose restoration belongs to its constructing thread. | |
Temporarily restores the enclosing region's caller environment for external code. Saves the current numerical state and reinstates it on return or unwind. The enclosing region must outlive this guard; both guards belong to the same thread.
Definition at line 90 of file ftz.controls.ccm.