XII Release 0.1.0
Loading...
Searching...
No Matches
xiiCompareDataDirPath Struct Reference

Comparator that first sort case-insensitive and then case-sensitive if necessary for a unique ordering. More...

#include <DataDirPath.h>

Static Public Member Functions

static bool Less (xiiStringView lhs, xiiStringView rhs)
 
static bool Equal (xiiStringView lhs, xiiStringView rhs)
 

Detailed Description

Comparator that first sort case-insensitive and then case-sensitive if necessary for a unique ordering.

Use this comparator when sorting e.g. files on disk like they would appear in a windows explorer. This comparator is using xiiStringView instead of xiiDataDirPath as all string and xiiDataDirPath can be implicitly converted to xiiStringView.


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