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

Method OptionSomeResult

tests/runtime/options/test.cpp:23–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23std::optional<wit::string> exports::test::options::to_test::OptionSomeResult() {
24 return std::optional<wit::string>(wit::string::from_view("foo"));
25}
26
27std::optional<wit::string> exports::test::options::to_test::OptionRoundtrip(std::optional<wit::string> a) {
28 return a;

Callers 1

RunMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected