userver: utils::StrIcaseCompareThreeWay Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
utils::StrIcaseCompareThreeWay Class Reference

Case insensitive ASCII 3-way comparison functor. More...

#include <userver/utils/str_icase.hpp>

Public Member Functions

int operator() (std::string_view lhs, std::string_view rhs) const noexcept
 

Detailed Description

Case insensitive ASCII 3-way comparison functor.

Definition at line 70 of file str_icase.hpp.

Member Function Documentation

◆ operator()()

int utils::StrIcaseCompareThreeWay::operator() ( std::string_view  lhs,
std::string_view  rhs 
) const
noexcept
Returns
integer <0 when `lhs < rhs`, >0 when lhs > rhs and 0 otherwise

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