| 682 | |
| 683 | template <typename F> |
| 684 | inline auto with_numeric_data(F f) const |
| 685 | { |
| 686 | ASSERT(has_data()); |
| 687 | return switch_numeric_dtype(dtype(), [this, f]<typename T>() { |
| 688 | auto sp = data(); |
| 689 | auto d = base::span_cast<const T>(sp); |
| 690 | return f.template operator()<T>(d); |
| 691 | }); |
| 692 | } |
| 693 | |
| 694 | inline iterator begin() const |
| 695 | { |
nothing calls this directly
no test coverage detected