vgbc/misc/panic.h
2023-08-29 23:15:00 +02:00

9 lines
146 B
C++

#include <cstdio>
#include <cstdlib>
template <typename... Args>
inline void panic [[noreturn]] (Args... args)
{
printf(args...);
exit(1);
}