Experiment in graphics programming, C++, OpenGL, simulation techniques.
| {#} | Time | Hash | Subject | Author | # | (+) | (-) | GPG? |
|---|---|---|---|---|---|---|---|---|
| 6 | 31 Aug 2023 21:18 | 3195a10 | Update program flow | Josh Stockin | 1 | 0 | 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 | #endif /* FAULT_HPP_ */ |
| 17 |