Return the result of comparing s0 to s1.

Synopsis

Declared in <mrdocs/Metadata/Symbol/SymbolID.hpp>

std::strong_ordering
compareSymbolNames(
    std::string_view symbolName0,
    std::string_view symbolName1) noexcept;

Description

This function returns true if the string s0 is less than the string s1. The comparison is first made without regard to case, unless the strings compare equal and then they are compared with lowercase letters coming before uppercase letters.

Return Value

The result of the comparison.

Parameters

Name

Description

symbolName0

The first symbol name to compare.

symbolName1

The second symbol name to compare.

Created with MrDocs