Index

zydeco / a4d3636

Experiment in graphics programming, C++, OpenGL, simulation techniques.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
631 Aug 2023 21:183195a10Update program flowJosh Stockin101G

Blob @ zydeco / include / Fault.hpp

text/plain348 bytesdownload raw
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
9template<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