From 5f2c7110a1880fde47317cb920db978d6995638f Mon Sep 17 00:00:00 2001 From: aura Date: Sun, 26 Jul 2026 02:58:07 +0200 Subject: list utils --- src/util/callback.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/util/callback.h') diff --git a/src/util/callback.h b/src/util/callback.h index a2c9477..ef4e815 100644 --- a/src/util/callback.h +++ b/src/util/callback.h @@ -1,16 +1,17 @@ #pragma once #include "typedef.h" +template struct __strip_ref { using type = T; }; +template struct __strip_ref { using type = T; }; +template struct __strip_ref { using type = T; }; +template struct __strip_ref { using type = R(*)(A...); }; +template struct __strip_ref { using type = R(*)(A...); }; + template struct FN; // voodoo template struct FN { - template struct __strip_ref { using type = T; }; - template struct __strip_ref { using type = T; }; - template struct __strip_ref { using type = T; }; - template struct __strip_ref { using type = R(*)(A...); }; - template struct __strip_ref { using type = R(*)(A...); }; static const unsigned int BUF_SIZE = 32; -- cgit v1.2.3