CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
index_traits.h
Go to the documentation of this file.
1// -*- C++ -*-
12#ifndef __cxz_index_traits__
13#define __cxz_index_traits__
14
15namespace 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>
33 { static constexpr bool value = false; };
34
40 template <class I>
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>
69 { static constexpr bool value = false; };
70
76 template <class I>
78 { static constexpr bool value = false; };
79
86 template <class I>
88 { static constexpr bool value = false; };
89
90}
91
92#endif
uint64_t SizeT
Definition types.h:38
static constexpr bool value
static constexpr bool value
static constexpr SizeT value
static constexpr SizeT value
static constexpr bool value
static constexpr bool value
static constexpr bool value
static constexpr bool value