Inital commit

This commit is contained in:
Pasha Bibko
2025-04-16 15:27:43 +01:00
commit 753c72c653
10 changed files with 287 additions and 0 deletions

8
common/Util.h Normal file
View File

@@ -0,0 +1,8 @@
#pragma once
namespace LX
{
template<typename T, typename... Args>
inline void ThrowIf(const bool condition, Args... args)
{ if (condition) [[unlikely]] { throw T(args...); }}
}