20 #if defined(__cpp_exceptions) || defined(__EXCEPTIONS) || defined(_CPPUNWIND)
26 #if defined(__GXX_RTTI) || defined(_CPPRTTI)
108 template<
typename Profile>
112 return (Profile::exceptions_allowed ||
118 template<
typename Profile>
122 static_assert(Profile::exceptions_allowed ||
124 "tsm: target profile requires exceptions to be disabled");
126 "tsm: target profile requires RTTI to be disabled");