From 2b52afbbf4316ec37eb6d1166990fa7ec5a61320 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sun, 27 Dec 2020 18:10:07 +0100 Subject: function_traits<>: define as empty by default An incomplete type was preventing some SFINAE cases for literal types. --- lib/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util.h') diff --git a/lib/util.h b/lib/util.h index 8c92df74..34f8714a 100644 --- a/lib/util.h +++ b/lib/util.h @@ -148,7 +148,7 @@ public: namespace _impl { template - struct fn_traits; + struct fn_traits {}; } /// Determine traits of an arbitrary function/lambda/functor -- cgit v1.2.3