MCPcopy 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
6template <class T>
7static bool equal(T const& a, T const& b) {
8 return a == b;
9}
10
11template <class T>
12static bool equal(wit::vector<T> const& a, wit::vector<T> const& b) {

Callers 2

RunMethod · 0.70
ListAndResourceFunction · 0.50

Calls 2

sizeMethod · 0.45
get_viewMethod · 0.45

Tested by 1

ListAndResourceFunction · 0.40