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