MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / reset

Method reset

native/thirdpart/flatbuffers/stl_emulation.h:283–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281 }
282
283 void reset(T* p = nullptr) {
284 T* value = ptr_;
285 ptr_ = p;
286 if (value) delete value;
287 }
288
289 void swap(unique_ptr& u) {
290 T* temp_ptr = ptr_;

Callers 2

LookupCreateStructMethod · 0.45
CompileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected