#pragma once template constexpr T CallVFunc(void* pThis, Args... args) noexcept { return reinterpret_cast (reinterpret_cast(pThis)[0][index])(pThis, args...); } #ifdef _WIN32 #define WIN_LINUX(win, linux) win #else #define WIN_LINUX(win, linux) linux #endif