|
SlHelpers
|
Equality test for string and string_view to be used in containers. More...
#include <String.h>
Public Types | |
| using | is_transparent = void |
| For containers to know this is a transparent eq test. | |
Public Member Functions | |
| bool | operator() (std::string_view a, std::string_view b) const noexcept |
Compare any kinds of two strings a and b. | |
Equality test for string and string_view to be used in containers.
It is to support find() to work on both string and string_view.
|
inlinenoexcept |
Compare any kinds of two strings a and b.
| a | First string |
| b | Second string |
a == b