Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chen3feng/toft
/ operator<
Function
operator<
base/string/string_piece.h:250–252 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
248
}
249
250
inline bool operator<(const StringPiece& x, const StringPiece& y) {
251
return x.compare(y) < 0;
252
}
253
254
inline bool operator>(const StringPiece& x, const StringPiece& y) {
255
return y < x;
Callers
nothing calls this directly
Calls
1
compare
Method · 0.80
Tested by
no test coverage detected