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

Function equal

tests/runtime/resources/resources.cpp:4–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3template <class T>
4static bool equal(T const& a, T const& b) {
5 return a==b;
6}
7
8exports::test::resources::Z::Owned exports::test::resources::Add(std::reference_wrapper<const Z> a, std::reference_wrapper<const Z> b) {
9 return exports::test::resources::Z::New(a.get().GetA() + b.get().GetA());

Callers 1

TestImportsMethod · 0.70

Calls

no outgoing calls

Tested by 1

TestImportsMethod · 0.56