| 40 | #undef ARROW_PRETTY_FUNCTION |
| 41 | |
| 42 | constexpr bool starts_with(char const* haystack, char const* needle) { |
| 43 | return needle[0] == '\0' || |
| 44 | (haystack[0] == needle[0] && starts_with(haystack + 1, needle + 1)); |
| 45 | } |
| 46 | |
| 47 | constexpr size_t search(char const* haystack, char const* needle) { |
| 48 | return haystack[0] == '\0' || starts_with(haystack, needle) |
no outgoing calls
no test coverage detected