35 #ifndef _BLAZE_MATH_TYPETRAITS_ISSUBVECTOR_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISSUBVECTOR_H_
43 #include <boost/type_traits/is_base_of.hpp>
64 template<
typename T >
65 struct IsSubvectorHelper
69 typedef typename RemoveCV<T>::Type T2;
74 enum { value = boost::is_base_of<Subvector,T2>::value && !boost::is_base_of<T2,Subvector>::value };
75 typedef typename SelectType<value,TrueType,FalseType>::Type Type;
109 template<
typename T >
115 enum { value = IsSubvectorHelper<T>::value };
116 typedef typename IsSubvectorHelper<T>::Type Type;
Header file for the FalseType type/value trait base class.
Header file for the RemoveCV type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the Subvector base class.
Header file for the SelectType class template.
Compile time check for subvectors.This type trait tests whether or not the given template parameter i...
Definition: IsSubvector.h:110
Header file for the TrueType type/value trait base class.