MCPcopy Create free account
hub / github.com/OAID/Tengine / Clone

Method Clone

core/include/operator.hpp:226–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224 virtual ~OperatorNoParam() {}
225
226 Operator* Clone(void) override
227 {
228 T* new_obj = new T(*dynamic_cast<T*>(this));
229 return new_obj;
230 }
231};
232
233template <typename T, typename P> class OperatorWithParam : public Operator

Callers 1

CreateOpMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected