Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
SharedLibrary.h
Go to the documentation of this file.
1#pragma once
2
3#include <Specs/DSLs.h>
6
7#include "DLL/Entrypoint.h" // IWYU pragma: keep
8
10 inline static auto cStringExceptionHandler =
12 inline static auto stdExceptionExceptionHandler =
14}
15
17 if (auto* specsEnv = SpecsCpp::global_spec_environment().get()) {
18 specsEnv->local_exception_handlers()->register_exception_handler(
20 );
21 specsEnv->local_exception_handlers()->register_exception_handler(
23 );
24 }
25}
#define Configure
Definition Configure.h:5
static auto stdExceptionExceptionHandler
static auto cStringExceptionHandler
GlobalSpecEnvironment & global_spec_environment()