aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/SymbolicIndex.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2018-07-12 09:59:44 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2018-07-12 09:59:44 +0200
commita4ea611ca7fa887f7b129a81942c8fa98ae4b6dd (patch)
tree8c488841d23c162d97b423f79cb521a361dc2721 /Eigen/src/Core/util/SymbolicIndex.h
parent8a40dda5a6c7847b466ca4d10d177639d1646e6d (diff)
Remove useless specialization thanks to is_convertible being more robust.
Diffstat (limited to 'Eigen/src/Core/util/SymbolicIndex.h')
-rw-r--r--Eigen/src/Core/util/SymbolicIndex.h7
1 files changed, 0 insertions, 7 deletions
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<T,BaseExpr<T> >::value };
};
-// Specialization for functions, because is_convertible fails in this case.
-// Useful in c++98/11 mode when testing is_symbolic<decltype(fix<N>)>
-template<typename T>
-struct is_symbolic<T (*)()> {
- 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.