MCPcopy Create free account
hub / github.com/PatWie/CppNumericalSolvers / clone

Method clone

include/cppoptlib/function_base.h:122–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 virtual std::unique_ptr<FunctionInterface<TScalar, TMode, TDimension>> clone()
123 const override {
124 return std::make_unique<Derived>(static_cast<const Derived&>(*this));
125 }
126};
127
128#ifdef __GNUC__

Callers 4

cloneMethod · 0.45
FunctionExprMethod · 0.45
FunctionExprClass · 0.45
cloneMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected