16 lines
301 B
C++
16 lines
301 B
C++
|
#ifndef TRY_CATCH_SIGNAL_HPP
|
||
|
#define TRY_CATCH_SIGNAL_HPP
|
||
|
|
||
|
#ifdef _MSC_VER
|
||
|
#include "TryCatchSignalSEH.hpp"
|
||
|
#else
|
||
|
template<class TryFn, class CatchFn, int N>
|
||
|
void try_catch_signal(const SignalT (&/*sigs*/)[N], TryFn &&/*fn*/, CatchFn &&/*cfn*/)
|
||
|
{
|
||
|
// TODO
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif // TRY_CATCH_SIGNAL_HPP
|
||
|
|