MySQL 9.0.0
Source Code Documentation
c_string_less Struct Reference

Compares two strings for order, assures ascending lexicographical order. More...

#include <c_string_less.h>

Public Member Functions

bool operator() (const char *s1, const char *s2) const
 Compares two strings for order. More...
 

Detailed Description

Compares two strings for order, assures ascending lexicographical order.

Is used as a const char * std::less specialization.

Member Function Documentation

◆ operator()()

bool c_string_less::operator() ( const char *  s1,
const char *  s2 
) const
inline

Compares two strings for order.

Parameters
s1String to compare.
s2String to compare.
Returns
Result of comparison, assures ascending lexicographical order.

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