Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/qpid-proton
/ compare_simple
Function
compare_simple
cpp/src/value.cpp:101–107 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
99
}
100
101
template <class T> int compare_simple(decoder& a, decoder& b) {
102
T va = T();
103
T vb = T();
104
a >> va;
105
b >> vb;
106
return compare(va, vb);
107
}
108
109
int compare_next(decoder& a, decoder& b) {
110
// Sort by type_id first.
Callers
nothing calls this directly
Calls
2
T
Class · 0.85
compare
Function · 0.85
Tested by
no test coverage detected