| 970 | return true; |
| 971 | } |
| 972 | std::unique_ptr<FunctionOptions> Copy(const FunctionOptions& options) const override { |
| 973 | const auto& opts = static_cast<const ExampleOptions&>(options); |
| 974 | return std::make_unique<ExampleOptions>(opts.value); |
| 975 | } |
| 976 | }; |
| 977 | ExampleOptions::ExampleOptions(std::shared_ptr<Scalar> value) |
| 978 | : FunctionOptions(ExampleOptionsType::GetInstance()), value(std::move(value)) {} |
nothing calls this directly
no outgoing calls
no test coverage detected