SimpleKernel 1.17.0
Loading...
Searching...
No Matches
CStrLess Struct Reference

flat_map 中 const char* 键的比较器(使用 kstd::strcmp)。 More...

#include <driver_registry.hpp>

Collaboration diagram for CStrLess:
Collaboration graph

Public Member Functions

auto operator() (const char *a, const char *b) const -> bool
 

Detailed Description

flat_map 中 const char* 键的比较器(使用 kstd::strcmp)。

Definition at line 49 of file driver_registry.hpp.

Member Function Documentation

◆ operator()()

auto CStrLess::operator() ( const char *  a,
const char *  b 
) const -> bool
inline

Definition at line 50 of file driver_registry.hpp.

50 {
51 return kstd::strcmp(a, b) < 0;
52 }

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