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

Method OptionNoneResult

tests/runtime/options/test.cpp:15–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15std::optional<wit::string> exports::test::options::to_test::OptionNoneResult() {
16 return std::optional<wit::string>();
17}
18
19void exports::test::options::to_test::OptionSomeParam(std::optional<wit::string> a) {
20 assert(equal(a, std::optional<std::string_view>("foo")));

Callers 1

RunMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected