Default identity function row accessor. Used to for the common case where the value of each row iterated over is it's self also directly iterable.
| 32 | // Default identity function row accessor. Used to for the common case where the value |
| 33 | // of each row iterated over is it's self also directly iterable. |
| 34 | [[nodiscard]] constexpr inline auto MakeDefaultRowAccessor() { |
| 35 | return [](auto& x) -> Result<decltype(std::ref(x))> { return std::ref(x); }; |
| 36 | } |
| 37 | |
| 38 | // Meta-function to check if a type `T` is a range (iterable using `std::begin()` / |
| 39 | // `std::end()`). `is_range<T>::value` will be false if `T` is not a valid range. |
no test coverage detected