mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Remove useless specialization thanks to is_convertible being more robust.
This commit is contained in:
parent
8a40dda5a6
commit
a4ea611ca7
@ -191,13 +191,6 @@ struct is_symbolic {
|
|||||||
enum { value = internal::is_convertible<T,BaseExpr<T> >::value };
|
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
|
/** 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.
|
* It is the return type of SymbolValue::operator=, and most of the time this is only way it is used.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user