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

Method Clone

test/gtest/gtest.h:10298–10300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10296 value_.reset();
10297 }
10298 virtual ParamIteratorInterface<T>* Clone() const {
10299 return new Iterator(*this);
10300 }
10301 // We need to use cached value referenced by iterator_ because *iterator_
10302 // can return a temporary object (and of type other then T), so just
10303 // having "return &*iterator_;" doesn't work.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected