9 lines
207 B
C++
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 }} |