\brief EXPERIMENTAL Enable obtaining shared_ptr from a const Scalar& context.
| 125 | /// \brief EXPERIMENTAL Enable obtaining shared_ptr<Scalar> from a const |
| 126 | /// Scalar& context. |
| 127 | std::shared_ptr<Scalar> GetSharedPtr() const { |
| 128 | return const_cast<Scalar*>(this)->shared_from_this(); |
| 129 | } |
| 130 | |
| 131 | protected: |
| 132 | Scalar(std::shared_ptr<DataType> type, bool is_valid) |
nothing calls this directly
no outgoing calls
no test coverage detected