Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebAssembly/wasm-c-api
/ operator[]
Method
operator[]
include/wasm.hh:116–119 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
114
}
115
116
auto operator[](size_t i) -> T& {
117
assert(i < size_);
118
return data_[i];
119
}
120
121
auto operator[](size_t i) const -> const T& {
122
assert(i < size_);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected