IsSparseElement.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISSPARSEELEMENT_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISSPARSEELEMENT_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
44 #include <blaze/util/mpl/And.h>
45 #include <blaze/util/mpl/Not.h>
47 
48 
49 namespace blaze {
50 
51 //=================================================================================================
52 //
53 // CLASS DEFINITION
54 //
55 //=================================================================================================
56 
57 //*************************************************************************************************
69 template< typename T >
71  : public And< IsBaseOf<SparseElement,T>, Not< IsBaseOf<T,SparseElement> > >
72 {};
73 //*************************************************************************************************
74 
75 } // namespace blaze
76 
77 #endif
Header file for the And class template.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the Not class template.
Header file for the SparseElement base class.
Compile time check whether the given type is a sparse element type.This type trait class tests whethe...
Definition: IsSparseElement.h:70
Compile time logical &#39;and&#39; evaluation.The And alias declaration performs at compile time a logical &#39;a...
Definition: And.h:76
Header file for the IsBaseOf type trait.