Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wit-bindgen
/ equal
Function
equal
tests/runtime/options/runner.cpp:6–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
5
template <class T>
6
static bool equal(T const& a, T const& b) {
7
return a==b;
8
}
9
static bool equal(wit::string const& a, std::string const& b) {
10
return a.get_view() == std::string_view(b);
11
}
Callers
1
Run
Method · 0.70
Calls
2
get_view
Method · 0.45
has_value
Method · 0.45
Tested by
no test coverage detected