MCPcopy Create free account
hub / github.com/IntegralPilot/wasm_os / emplace_back

Method emplace_back

stdlib/cpp/vector.hpp:181–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179
180 template <typename... Args>
181 void emplace_back(Args&&... args) {
182 if (size_ == capacity_) {
183 grow_capacity();
184 }
185 new (&data_[size_]) T(std::forward<Args>(args)...);
186 ++size_;
187 }
188
189 void clear() noexcept {
190 for (size_type i = 0; i < size_; ++i) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected