From a4ea611ca7fa887f7b129a81942c8fa98ae4b6dd Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 12 Jul 2018 09:59:44 +0200 Subject: Remove useless specialization thanks to is_convertible being more robust. --- Eigen/src/Core/util/SymbolicIndex.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Eigen/src/Core/util') diff --git a/Eigen/src/Core/util/SymbolicIndex.h b/Eigen/src/Core/util/SymbolicIndex.h index 1ade6d67b..b9fe733b7 100644 --- a/Eigen/src/Core/util/SymbolicIndex.h +++ b/Eigen/src/Core/util/SymbolicIndex.h @@ -191,13 +191,6 @@ struct is_symbolic { enum { value = internal::is_convertible >::value }; }; -// Specialization for functions, because is_convertible fails in this case. -// Useful in c++98/11 mode when testing is_symbolic)> -template -struct is_symbolic { - enum { value = false }; -}; - /** Represents the actual value of a symbol identified by its tag * * It is the return type of SymbolValue::operator=, and most of the time this is only way it is used. -- cgit v1.2.3