Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <case.h>
Public Types | |
using | is_transparent = void |
Enable heterogeneous lookup. | |
Public Member Functions | |
bool | operator() (absl::string_view s1, absl::string_view s2) const |
AsciiCaseInsensitiveLess()
Performs a case-insensitive less-than absl::string_view comparison. This function object is useful as a template parameter for set/map of absl::string_view-compatible types, if uniqueness of keys is case-insensitive. Can be used for heterogeneous lookups in associative containers. Example:
absl::btree_map<std::string, std::string, AsciiCaseInsensitiveLess> map; absl::string_view key = ...; auto it = map.find(key);
using strings::AsciiCaseInsensitiveLess::is_transparent = void |
|
inline |