MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / deepCopy

Method deepCopy

include/thundersvm/util/log.h:1489–1493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1487
1488 private:
1489 virtual void deepCopy(const AbstractRegistry<T_Ptr, std::map<T_Key, T_Ptr*>>& sr) ELPP_FINAL {
1490 for (const_iterator it = sr.cbegin(); it != sr.cend(); ++it) {
1491 registerNew(it->first, new T_Ptr(*it->second));
1492 }
1493 }
1494 };
1495
1496/// @brief A pointer registry mechanism to manage memory and provide search functionalities. (predicate version)

Callers

nothing calls this directly

Calls 2

cbeginMethod · 0.80
cendMethod · 0.80

Tested by

no test coverage detected