Name can be treated as compound if it contains dot (.) in the middle. */
| 53 | /** Name can be treated as compound if it contains dot (.) in the middle. |
| 54 | */ |
| 55 | std::pair<std::string, std::string> splitName(const std::string & name, bool reverse) |
| 56 | { |
| 57 | auto res = splitName(std::string_view(name), reverse); |
| 58 | return {std::string(res.first), std::string(res.second)}; |
| 59 | } |
| 60 | |
| 61 | std::pair<std::string_view, std::string_view> splitName(std::string_view name, bool reverse) |
| 62 | { |