MixinSpec API
This commit is contained in:
10 files changed
+656
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#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
|
||||
Reference in new issue
Block a user