MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / operator<

Function operator<

FACE/StringManager.h:276–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274
275template <typename CharT>
276inline bool operator<(const StringBase<CharT>& lhs,
277 const StringBase<CharT>& rhs)
278{
279 if (!lhs.in()) {
280 return rhs.in();
281 }
282 return StringTraits<CharT>::cmp(lhs, rhs) < 0;
283}
284
285template <typename CharT>
286inline bool operator==(const StringBase<CharT>& lhs,

Callers

nothing calls this directly

Calls 2

cmpFunction · 0.50
inMethod · 0.45

Tested by

no test coverage detected