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

Method OptionNoneParam

tests/runtime/options/test.cpp:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10void exports::test::options::to_test::OptionNoneParam(std::optional<wit::string> a)
11{
12 assert(!a.has_value());
13}
14
15std::optional<wit::string> exports::test::options::to_test::OptionNoneResult() {
16 return std::optional<wit::string>();

Callers 1

RunMethod · 0.45

Calls 2

assertFunction · 0.50
has_valueMethod · 0.45

Tested by

no test coverage detected