| 1373 | |
| 1374 | template <typename FromType> |
| 1375 | Status Visit(const FromType&) { |
| 1376 | ARROW_ASSIGN_OR_RAISE( |
| 1377 | out_, CastImpl<ToType>( |
| 1378 | checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_), |
| 1379 | to_type_)); |
| 1380 | return Status::OK(); |
| 1381 | } |
| 1382 | |
| 1383 | // identity cast only for parameter free types |
| 1384 | template <typename T1 = ToType> |
nothing calls this directly
no test coverage detected