Experiment in graphics programming, C++, OpenGL, simulation techniques.
{#} | Time | Hash | Subject | Author | # | (+) | (-) | GPG? |
---|---|---|---|---|---|---|---|---|
4 | 05 Aug 2023 20:50 | 0dd781a | Create event handling and threads structure | Josh Stockin | 1 | 9 | 1 | G |
1 | #ifndef FAULT_HPP_ |
2 | #define FAULT_HPP_ |
3 | |
4 | |
5 | #include <fmt/format.h> |
6 | |
7 | [[noreturn]] void ZydecoFault(std::string fault_message); |
8 | |
9 | template<typename... Args> |
10 | [[noreturn]] void ZydecoFault(fmt::format_string<Args...> fault_message, Args&&... args) |
11 | { |
12 | ZydecoFault(fmt::vformat(fault_message, fmt::make_format_args(args...))); |
13 | } |
14 | |
15 | |
16 | |
17 | #endif /* FAULT_HPP_ */ |
18 |