Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ operator==
Function
operator==
source/core/StarStringView.cpp:422–424 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
420
}
421
422
bool operator==(StringView s1, const char* s2) {
423
return s1.m_view.compare(s2) == 0;
424
}
425
426
bool operator==(StringView s1, std::string const& s2) {
427
return s1.m_view.compare(s2) == 0;
Callers
nothing calls this directly
Calls
1
compare
Method · 0.45
Tested by
no test coverage detected