MCPcopy Create free account
hub / github.com/bab2min/tomotopy / copy

Method copy

src/TopicModel/TopicModel.hpp:623–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621 TopicModel(const TopicModel&) = default;
622
623 std::unique_ptr<ITopicModel> copy() const override
624 {
625 auto ret = std::make_unique<_Derived>(*static_cast<const _Derived*>(this));
626 ret->updateForCopy();
627 return ret;
628 }
629
630 size_t getNumDocs() const override
631 {

Callers

nothing calls this directly

Calls 1

updateForCopyMethod · 0.45

Tested by

no test coverage detected