| 41 | } |
| 42 | |
| 43 | std::optional<std::vector<FunctionSignaturePtr>> getVectorFunctionSignatures( |
| 44 | const std::string& name) { |
| 45 | auto sanitizedName = sanitizeName(name); |
| 46 | |
| 47 | return vectorFunctionFactories() |
| 48 | .withRLock([&sanitizedName](auto& functions) -> auto{ |
| 49 | auto it = functions.find(sanitizedName); |
| 50 | return it == functions.end() ? std::nullopt |
| 51 | : std::optional(it->second.signatures); |
| 52 | }); |
| 53 | } |
| 54 | |
| 55 | std::shared_ptr<const Type> resolveVectorFunction( |
| 56 | const std::string& functionName, |