MCPcopy Create free account
hub / github.com/fmtlib/fmt / iterator

Method iterator

test/scan.h:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82 iterator(scan_buffer* buf) : buf_(buf) {
83 if (buf->ptr_ == buf->end_) {
84 ptr_ = get_sentinel();
85 return;
86 }
87 ptr_ = &buf->ptr_;
88 value_ = *buf->ptr_;
89 }
90
91 friend scan_buffer& get_buffer(iterator it) { return *it.buf_; }
92

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected