| 956 | /// \brief Scalar factory for non-null scalars |
| 957 | template <typename Value> |
| 958 | Result<std::shared_ptr<Scalar>> MakeScalar(std::shared_ptr<DataType> type, |
| 959 | Value&& value) { |
| 960 | return MakeScalarImpl<Value&&>{type, std::forward<Value>(value), NULLPTR}.Finish(); |
| 961 | } |
| 962 | |
| 963 | /// \brief Type-inferring scalar factory for non-null scalars |
| 964 | /// |