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

Function operator->

crates/cpp/test_headers/expected.hpp:1947–1950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1945 }
1946
1947 constexpr const T *operator->() const {
1948 TL_ASSERT(has_value());
1949 return valptr();
1950 }
1951 TL_EXPECTED_11_CONSTEXPR T *operator->() {
1952 TL_ASSERT(has_value());
1953 return valptr();

Callers

nothing calls this directly

Calls 1

has_valueFunction · 0.85

Tested by

no test coverage detected