wavelength
1.0.0
Loading...
Searching...
No Matches
strless.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstring>
4
10
class
StrLess
{
11
public
:
19
bool
operator()
(
const
char
*pszFirst,
const
char
*pszSecond)
const
{
20
return
std::strcmp(pszFirst, pszSecond) < 0;
21
}
22
};
StrLess
Ordering of C strings by their text, for maps keyed by name.
Definition
strless.h:10
StrLess::operator()
bool operator()(const char *pszFirst, const char *pszSecond) const
Report whether one string sorts before another.
Definition
strless.h:19
src
os
strless.h
Generated by
1.15.0