CACAO
|
Prevent mixing indices. More...
Public Member Functions | |
IdxTy () | |
default constructor More... | |
IdxTy (std::size_t idx) | |
explicit constructor More... | |
IdxTy & | operator= (const IdxTy &other) |
copy assignment operator More... | |
IdxTy | operator+ (std::size_t i) const |
IdxTy | operator- (std::size_t i) const |
bool | operator== (const IdxTy &other) const |
Data Fields | |
std::size_t | idx |
Prevent mixing indices.
See Item 18 in "Efficient C++" [6].
Definition at line 85 of file Segment.hpp.
|
inline |
default constructor
Definition at line 89 of file Segment.hpp.
|
inlineexplicit |
explicit constructor
Definition at line 91 of file Segment.hpp.
|
inline |
Definition at line 97 of file Segment.hpp.
|
inline |
Definition at line 100 of file Segment.hpp.
|
inline |
copy assignment operator
Definition at line 93 of file Segment.hpp.
|
inline |
Definition at line 103 of file Segment.hpp.
std::size_t cacao::jit::compiler2::Segment< Tag, RefCategory >::IdxTy::idx |
Definition at line 86 of file Segment.hpp.