aboutsummaryrefslogtreecommitdiff
path: root/src/DI/strip_signature.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-04-30 16:28:13 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:58 +0200
commit40d02748924aa7c48b04cf948204d8dacdfbbc74 (patch)
tree4d07a3703207295799b02cef52618a8f0c820542 /src/DI/strip_signature.hpp
parentdb6edcd473a684420e9a7611b24462df21165c1b (diff)
refactor: replace DI files with the yacppdic library
Diffstat (limited to 'src/DI/strip_signature.hpp')
-rw-r--r--src/DI/strip_signature.hpp103
1 files changed, 0 insertions, 103 deletions
diff --git a/src/DI/strip_signature.hpp b/src/DI/strip_signature.hpp
deleted file mode 100644
index 9d20a87..0000000
--- a/src/DI/strip_signature.hpp
+++ /dev/null
@@ -1,103 +0,0 @@
-#pragma once
-
-template <class Function>
-struct strip_signature;
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...)>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) const>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) volatile>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) const volatile>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) &>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) const &>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) volatile &>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) const volatile &>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) noexcept>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) const noexcept>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) volatile noexcept>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) const volatile noexcept>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) &noexcept>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) const &noexcept>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) volatile &noexcept>
-{
- using type = Return(Args...);
-};
-
-template <class Return, class Class, class... Args>
-struct strip_signature<Return (Class::*)(Args...) const volatile &noexcept>
-{
- using type = Return(Args...);
-};
-
-template <class Function>
-using strip_signature_t = typename strip_signature<Function>::type;