35 #ifndef _BLAZE_MATH_CONSTRAINTS_STORAGEORDER_H_
36 #define _BLAZE_MATH_CONSTRAINTS_STORAGEORDER_H_
63 #define BLAZE_CONSTRAINT_MUST_BE_MATRIX_WITH_STORAGE_ORDER(T,SO) \
64 static_assert( ::blaze::IsMatrix<T>::value && \
65 ::blaze::StorageOrder<T>::value == SO, "Invalid storage order detected" )
84 #define BLAZE_CONSTRAINT_MATRICES_MUST_HAVE_SAME_STORAGE_ORDER(T1,T2) \
85 static_assert( ::blaze::IsMatrix<T1>::value && \
86 ::blaze::IsMatrix<T2>::value && \
87 ::blaze::StorageOrder<T1>::value == ::blaze::StorageOrder<T2>::value, "Invalid storage order failed" )
106 #define BLAZE_CONSTRAINT_MATRICES_MUST_HAVE_DIFFERENT_STORAGE_ORDER(T1,T2) \
107 static_assert( ::blaze::IsMatrix<T1>::value && \
108 ::blaze::IsMatrix<T2>::value && \
109 ::blaze::StorageOrder<T1>::value != ::blaze::StorageOrder<T2>::value, "Invalid storage order detected" )
Header file for the IsMatrix type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the StorageOrder type trait.