15 lines
482 B
C++
15 lines
482 B
C++
#pragma once
|
|
#include <type_traits>
|
|
#include <tuple>
|
|
|
|
namespace vl::reflect {
|
|
|
|
// Primary template: intentionally incomplete; generator will specialize.
|
|
template<auto MethodPtr>
|
|
struct method_signature; // exposes: using Self, using Ret, using Args = std::tuple<...>; static constexpr bool is_static;
|
|
|
|
template<class T> struct is_void : std::is_same<T, void> {};
|
|
template<class T> inline constexpr bool is_void_v = is_void<T>::value;
|
|
|
|
} // namespace vl::reflect
|