We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 429b514 commit f16249cCopy full SHA for f16249c
include/xtensor/xutils.hpp
@@ -587,7 +587,7 @@ namespace xt
587
588
template <class T>
589
struct has_storage_type<T, void_t<typename xcontainer_inner_types<T>::storage_type>>
590
- : std::true_type
+ : xtl::negation<std::is_same<typename std::remove_cv<typename xcontainer_inner_types<T>::storage_type>::type, invalid_type>>
591
{};
592
593
/*************************************
0 commit comments