Refureku v2.2.0
C++17 runtime reflection library.
MethodHelper.h
1
8#pragma once
9
10#include "Refureku/TypeInfo/Functions/MethodBase.h"
11
12namespace rfk::internal
13{
15 template <typename T>
16 class MethodHelper;
17
19 template <typename ReturnType, typename... ArgTypes>
20 class MethodHelper<ReturnType(ArgTypes...)>
21 {
22 public:
23 static bool hasSameSignature(MethodBase const& method) noexcept;
24 };
25
27 template <typename ReturnType, typename... ArgTypes>
28 class MethodHelper<ReturnType(ArgTypes...) noexcept>
29 {
30 public:
31 static bool hasSameSignature(MethodBase const& method) noexcept;
32 };
33
35 template <typename ReturnType, typename... ArgTypes>
36 class MethodHelper<ReturnType(ArgTypes...) const>
37 {
38 public:
39 static bool hasSameSignature(MethodBase const& method) noexcept;
40 };
41
43 template <typename ReturnType, typename... ArgTypes>
44 class MethodHelper<ReturnType(ArgTypes...) const noexcept>
45 {
46 public:
47 static bool hasSameSignature(MethodBase const& method) noexcept;
48 };
49
50 #include "Refureku/TypeInfo/Functions/MethodHelper.inl"
51}