Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
typetraits
StorageOrder.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_TYPETRAITS_STORAGEORDER_H_
36
#define _BLAZE_MATH_TYPETRAITS_STORAGEORDER_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/util/IntegralConstant.h
>
44
45
46
namespace
blaze {
47
48
//=================================================================================================
49
//
50
// CLASS DEFINITION
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
72
template
<
typename
T >
73
struct
StorageOrder
74
:
public
BoolConstant
< T::storageOrder >
75
{};
76
//*************************************************************************************************
77
78
79
//*************************************************************************************************
92
template
<
typename
T >
93
constexpr
bool
StorageOrder_v
= T::storageOrder;
94
//*************************************************************************************************
95
96
}
// namespace blaze
97
98
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
blaze::StorageOrder_v
constexpr bool StorageOrder_v
Auxiliary variable template for the StorageOrder type trait.
Definition
StorageOrder.h:93
blaze::BoolConstant
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition
IntegralConstant.h:110
blaze::StorageOrder
Evaluation of the storage order of a given matrix type.
Definition
StorageOrder.h:75
Generated by
1.18.0