We need identity
parent
e65f510ebf
commit
42b0f0f4d4
|
@ -34,6 +34,8 @@ public:
|
|||
/// Default constructor yields identity
|
||||
Cyclic():i_(0) {
|
||||
}
|
||||
static Cyclic identity() { return Cyclic();}
|
||||
|
||||
/// Cast to size_t
|
||||
operator size_t() const {
|
||||
return i_;
|
||||
|
|
Loading…
Reference in New Issue