symbol-processor/data/out.cpp
2024-08-01 21:57:31 -04:00

9 lines
207 B
C++

#include "{{ headerPath }}"
// Thunk Template
template <auto *const *func>
decltype(auto) __thunk(auto... args) {
return (*func)->get_thunk_target()(std::forward<decltype(args)>(args)...);
}
{{ main }}