| 64 | } |
| 65 | |
| 66 | inline bool ends_with(std::string_view const& value, std::string_view const& ending) |
| 67 | { |
| 68 | if (ending.size() > value.size()) |
| 69 | return false; |
| 70 | |
| 71 | return std::equal(ending.rbegin(), ending.rend(), value.rbegin()); |
| 72 | } |
| 73 | |
| 74 | // Trim white space |
| 75 |
no test coverage detected