| 45 | } |
| 46 | |
| 47 | constexpr size_t search(char const* haystack, char const* needle) { |
| 48 | return haystack[0] == '\0' || starts_with(haystack, needle) |
| 49 | ? 0 |
| 50 | : search(haystack + 1, needle) + 1; |
| 51 | } |
| 52 | |
| 53 | const size_t typename_prefix = search(raw<double>(), "double"); |
| 54 |
no test coverage detected