IsView.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISVIEW_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISVIEW_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
45 #include <blaze/util/mpl/And.h>
46 #include <blaze/util/mpl/Not.h>
48 
49 
50 namespace blaze {
51 
52 //=================================================================================================
53 //
54 // CLASS DEFINITION
55 //
56 //=================================================================================================
57 
58 //*************************************************************************************************
86 template< typename T >
87 struct IsView : public BoolConstant< And< IsBaseOf<View,T>, Not< IsBaseOf<T,View> > >::value >
88 {};
89 //*************************************************************************************************
90 
91 } // namespace blaze
92 
93 #endif
Header file for the View base class.
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
Compile time check for views.This type trait tests whether or not the given template parameter is a v...
Definition: IsView.h:87
Header file for the And class template.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the Not class template.
Header file for the IntegralConstant class template.
Header file for the IsBaseOf type trait.