Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IntegralPilot/wasm_os
/ clear
Method
clear
stdlib/cpp/vector.hpp:189–194 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
187
}
188
189
void clear() noexcept {
190
for (size_type i = 0; i < size_; ++i) {
191
data_[i].~T();
192
}
193
size_ = 0;
194
}
195
196
iterator insert(iterator pos, const T& value) {
197
size_type index = pos - begin();
Callers
2
solve
Method · 0.80
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected