Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ operator[]
Method
operator[]
Kernel/include/list.h:124–126 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
122
}
123
124
T operator[](unsigned pos) {
125
return get_at(pos);
126
}
127
128
T get_at(unsigned pos) {
129
assert(num > 0 && pos < num && front);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected