HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ustringPtrIsLess Class Reference

#include <ustring.h>

Public Member Functions

size_t operator() (ustring a, ustring b) const noexcept
 

Detailed Description

Functor class to use for comparisons when sorting ustrings, if you don't care if the sort order is lexicographic. This sorts based on the pointers themselves, which is safe because once allocated, a ustring's characters will never be moved. But beware, the resulting sorting order may vary from run to run!

Definition at line 773 of file ustring.h.

Member Function Documentation

size_t ustringPtrIsLess::operator() ( ustring  a,
ustring  b 
) const
inlinenoexcept

Definition at line 775 of file ustring.h.


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