Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
typetraits
IsContiguous.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_TYPETRAITS_ISCONTIGUOUS_H_
36
#define _BLAZE_MATH_TYPETRAITS_ISCONTIGUOUS_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
//*************************************************************************************************
84
template
<
typename
T >
85
struct
IsContiguous
86
:
public
FalseType
87
{};
88
//*************************************************************************************************
89
90
91
//*************************************************************************************************
96
template
<
typename
T >
97
struct
IsContiguous
< const T >
98
:
public
IsContiguous
<T>
99
{};
101
//*************************************************************************************************
102
103
104
//*************************************************************************************************
109
template
<
typename
T >
110
struct
IsContiguous< volatile T >
111
:
public
IsContiguous<T>
112
{};
114
//*************************************************************************************************
115
116
117
//*************************************************************************************************
122
template
<
typename
T >
123
struct
IsContiguous
< const volatile T >
124
:
public
IsContiguous
<T>
125
{};
127
//*************************************************************************************************
128
129
130
//*************************************************************************************************
143
template
<
typename
T >
144
constexpr
bool
IsContiguous_v
=
IsContiguous<T>::value
;
145
//*************************************************************************************************
146
147
}
// namespace blaze
148
149
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
blaze::IsContiguous_v
constexpr bool IsContiguous_v
Auxiliary variable template for the IsContiguous type trait.
Definition
IsContiguous.h:144
blaze::FalseType
BoolConstant< false > FalseType
Type/value traits base class.
Definition
IntegralConstant.h:121
blaze::IsContiguous
Compile time check for the memory layout of data types.
Definition
IsContiguous.h:87
Generated by
1.18.0