IsSparseMatrix.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISSPARSEMATRIX_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISSPARSEMATRIX_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
45 #include <blaze/util/mpl/Or.h>
48 
49 
50 namespace blaze {
51 
52 //=================================================================================================
53 //
54 // CLASS DEFINITION
55 //
56 //=================================================================================================
57 
58 //*************************************************************************************************
77 template< typename T >
79  : public BoolConstant< Or< IsBaseOf<SparseMatrix<RemoveCV_<T>,false>,T>
80  , IsBaseOf<SparseMatrix<RemoveCV_<T>,true>,T> >::value >
81 {};
82 //*************************************************************************************************
83 
84 } // namespace blaze
85 
86 #endif
Header file for the RemoveCV type trait.
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
Header file for the SparseMatrix base class.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the Or class template.
Header file for the IntegralConstant class template.
Compile time check for sparse matrix types.This type trait tests whether or not the given template pa...
Definition: IsSparseMatrix.h:78
Header file for the IsBaseOf type trait.