CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
src
include
ranges
index_traits.h
Go to the documentation of this file.
1
// -*- C++ -*-
12
#ifndef __cxz_index_traits__
13
#define __cxz_index_traits__
14
15
namespace
CNORXZ
16
{
22
template
<
class
I>
23
struct
is_index
24
{
static
constexpr
bool
value
= std::is_base_of<IndexInterface<I,typename I::MetaType>,I>
::value
; };
25
31
template
<
class
I>
32
struct
index_has_const_size
33
{
static
constexpr
bool
value
=
false
; };
34
40
template
<
class
I>
41
struct
index_const_size
42
{
static
constexpr
SizeT
value
= 0; };
43
49
template
<
class
I>
50
struct
index_dim
51
{
static
constexpr
SizeT
value
= 1; };
52
58
template
<
class
T>
59
struct
has_sub
60
{
static
constexpr
bool
value
=
false
; };
61
67
template
<
class
T>
68
struct
has_static_sub
69
{
static
constexpr
bool
value
=
false
; };
70
76
template
<
class
I>
77
struct
index_is_multi
78
{
static
constexpr
bool
value
=
false
; };
79
86
template
<
class
I>
87
struct
index_expression_exists
88
{
static
constexpr
bool
value
=
false
; };
89
90
}
91
92
#endif
CNORXZ
Definition
aindex.cc.h:18
CNORXZ::SizeT
uint64_t SizeT
Definition
types.h:38
CNORXZ::has_static_sub
Definition
index_traits.h:69
CNORXZ::has_static_sub::value
static constexpr bool value
Definition
index_traits.h:69
CNORXZ::has_sub
Definition
index_traits.h:60
CNORXZ::has_sub::value
static constexpr bool value
Definition
index_traits.h:60
CNORXZ::index_const_size
Definition
index_traits.h:42
CNORXZ::index_const_size::value
static constexpr SizeT value
Definition
index_traits.h:42
CNORXZ::index_dim
Definition
index_traits.h:51
CNORXZ::index_dim::value
static constexpr SizeT value
Definition
index_traits.h:51
CNORXZ::index_expression_exists
Definition
index_traits.h:88
CNORXZ::index_expression_exists::value
static constexpr bool value
Definition
index_traits.h:88
CNORXZ::index_has_const_size
Definition
index_traits.h:33
CNORXZ::index_has_const_size::value
static constexpr bool value
Definition
index_traits.h:33
CNORXZ::index_is_multi
Definition
index_traits.h:78
CNORXZ::index_is_multi::value
static constexpr bool value
Definition
index_traits.h:78
CNORXZ::is_index
Definition
index_traits.h:24
CNORXZ::is_index::value
static constexpr bool value
Definition
index_traits.h:24
Generated by
1.10.0