| 375 | |
| 376 | template <typename T> |
| 377 | Iterator<T> MakeErrorIterator(Status s) { |
| 378 | return MakeFunctionIterator([s]() -> Result<T> { |
| 379 | ARROW_RETURN_NOT_OK(s); |
| 380 | return IterationTraits<T>::End(); |
| 381 | }); |
| 382 | } |
| 383 | |
| 384 | /// \brief Simple iterator which yields the elements of a std::vector |
| 385 | template <typename T> |
nothing calls this directly
no test coverage detected