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

Method Equals

test/gtest/gtest.h:10313–10321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10311 return value_.get();
10312 }
10313 virtual bool Equals(const ParamIteratorInterface<T>& other) const {
10314 // Having the same base generator guarantees that the other
10315 // iterator is of the same type and we can downcast.
10316 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
10317 << "The program attempted to compare iterators "
10318 << "from different generators." << std::endl;
10319 return iterator_ ==
10320 CheckedDowncastToActualType<const Iterator>(&other)->iterator_;
10321 }
10322
10323 private:
10324 Iterator(const Iterator& other)

Callers

nothing calls this directly

Calls 1

BaseGeneratorMethod · 0.45

Tested by

no test coverage detected