blob: 0759763c920f17bf9a318d011d2e4429f8fa94f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <kstd/tests/os_panic.hpp>
#include <source_location>
#include <string>
#include <string_view>
namespace kstd::os
{
auto panic(std::string_view message, std::source_location location)
{
throw kstd::tests::os_panic{std::string{message}, location};
}
} // namespace kstd::os
|