MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / equal

Function equal

tests/runtime/lists/test.cpp:11–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10template <class T, class S>
11static bool equal(T const&a, S const& b) {
12 return a == b;
13}
14template<class R, class S>
15static bool equal(std::span<R> const&a, std::span<S> const& b) {
16 if (a.size() != b.size()) { return false; }

Callers 4

ListParamMethod · 0.70
ListParam2Method · 0.70
ListParam3Method · 0.70
ListParam4Method · 0.70

Calls 2

sizeMethod · 0.45
get_viewMethod · 0.45

Tested by

no test coverage detected