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