Skip to content

Commit 210f524

Browse files
committed
added operator*
1 parent f194bdf commit 210f524

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/endpoints_sequence.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ struct endpoints_sequence {
119119
bool has_next() const { return m_pos < m_ptr->size(); }
120120
bool has_prev() const { return m_pos > 0; }
121121
uint64_t value() const { return m_val; }
122+
uint64_t operator*() const { return value(); }
122123
uint64_t position() const { return m_pos; }
123124

124125
void next() {

0 commit comments

Comments
 (0)