MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / Equals

Method Equals

tests/gtest/gtest.h:10729–10737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10727 return value_.get();
10728 }
10729 bool Equals(const ParamIteratorInterface<T>& other) const override {
10730 // Having the same base generator guarantees that the other
10731 // iterator is of the same type and we can downcast.
10732 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
10733 << "The program attempted to compare iterators "
10734 << "from different generators." << std::endl;
10735 return iterator_ ==
10736 CheckedDowncastToActualType<const Iterator>(&other)->iterator_;
10737 }
10738
10739 private:
10740 Iterator(const Iterator& other)

Callers

nothing calls this directly

Calls 1

BaseGeneratorMethod · 0.45

Tested by

no test coverage detected