Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IntegralPilot/wasm_os
/ push_back
Method
push_back
stdlib/cpp/vector.hpp:165–171 ·
view source on GitHub ↗
Modifiers
Source
from the content-addressed store, hash-verified
163
164
// Modifiers
165
void push_back(const T& value) {
166
if (size_ == capacity_) {
167
grow_capacity();
168
}
169
new (&data_[size_]) T(value);
170
++size_;
171
}
172
173
void pop_back() {
174
if (size_ > 0) {
Callers
2
solve
Method · 0.80
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected