MCPcopy Create free account
hub / github.com/apache/singa / Advance

Method Advance

test/gtest/gtest.h:13812–13820  ·  view source on GitHub ↗

Advance should not be called on beyond-of-range iterators so no component iterators must be beyond end of range, either.

Source from the content-addressed store, hash-verified

13810 // Advance should not be called on beyond-of-range iterators
13811 // so no component iterators must be beyond end of range, either.
13812 virtual void Advance() {
13813 assert(!AtEnd());
13814 ++current2_;
13815 if (current2_ == end2_) {
13816 current2_ = begin2_;
13817 ++current1_;
13818 }
13819 ComputeCurrentValue();
13820 }
13821 virtual ParamIteratorInterface<ParamType>* Clone() const {
13822 return new Iterator(*this);
13823 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected