SEH utilility. More...

#include <exception.h>

Public Member Functions

 LM_DISABLE_CONSTRUCT (SEHUtils)
 

Static Public Member Functions

static auto EnableStructuralException () -> void
 Enable SEH exception.
 
static auto DisableStructuralException () -> void
 Disbale SEH exception.
 

Detailed Description

SEH utilility.

Helps to handle structured exception handling (SEH) in the Windows environment. Some exceptions such as floating-point exception is handled via SEH. We need to register a translator function to catch SEH from user code.