MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / stringCompare

Function stringCompare

src/ArduinoJson/Strings/StringAdapters.hpp:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36template <typename TAdaptedString1, typename TAdaptedString2>
37enable_if_t<(TAdaptedString1::typeSortKey > TAdaptedString2::typeSortKey), int>
38stringCompare(TAdaptedString1 s1, TAdaptedString2 s2) {
39 return -stringCompare(s2, s1);
40}
41
42template <typename TAdaptedString1, typename TAdaptedString2>
43enable_if_t<TAdaptedString1::typeSortKey <= TAdaptedString2::typeSortKey, bool>

Callers 3

visitMethod · 0.50
StringAdapters.cppFile · 0.50
string_view.cppFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected