libfilezilla
Loading...
Searching...
No Matches
less_insensitive_ascii Struct Referencefinal

Comparator to be used for std::map for case-insensitive keys. More...

#include <string.hpp>

Public Types

using is_transparent = std::true_type

Public Member Functions

template<typename L, typename R, std::enable_if_t< std::is_same_v< string_value_type_t< L >, string_value_type_t< R > > > * = nullptr>
bool operator() (L const &lhs, R const &rhs) const

Detailed Description

Comparator to be used for std::map for case-insensitive keys.

Comparison is done locale-agnostic. Useful for key-value pairs in protocols, e.g. HTTP headers.


The documentation for this struct was generated from the following file: