Callable string comparison struct. */
| 30 | |
| 31 | /** Callable string comparison struct. */ |
| 32 | struct cmStrCmp |
| 33 | { |
| 34 | cmStrCmp(std::string str) |
| 35 | : Test_(std::move(str)) |
| 36 | { |
| 37 | } |
| 38 | |
| 39 | bool operator()(cm::string_view sv) const { return this->Test_ == sv; } |
| 40 | |
| 41 | private: |
| 42 | std::string const Test_; |
| 43 | }; |
| 44 | |
| 45 | /** |
| 46 | * Test if two strings are identical, ignoring case. |
no outgoing calls
no test coverage detected
searching dependent graphs…