AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch::rest::CaseInsensitiveLess Struct Reference

#include <headers.hpp>

Collaboration diagram for anch::rest::CaseInsensitiveLess:

Public Types

using is_transparent = void

Public Member Functions

bool operator() (std::string_view left, std::string_view right) const noexcept

Detailed Description

Case insensitive (ASCII) string comparison for header names

Author
Vincent Lachenal
Since
0.2

Member Typedef Documentation

◆ is_transparent

Allow lookup with std::string_view

Member Function Documentation

◆ operator()()

bool anch::rest::CaseInsensitiveLess::operator() ( std::string_view left,
std::string_view right ) const
noexcept

Compare strings ignoring case

Parameters
leftthe left string
rightthe right string
Returns
true when left is lower than right

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