MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / DestructSmallData

Method DestructSmallData

source/util/small_vector.h:458–463  ·  view source on GitHub ↗

Destroys all of the elements in |small_data_| that have been constructed.

Source from the content-addressed store, hash-verified

456
457 // Destroys all of the elements in |small_data_| that have been constructed.
458 void DestructSmallData() {
459 for (size_t i = 0; i < size_; ++i) {
460 small_data_[i].~T();
461 }
462 size_ = 0;
463 }
464
465 // The number of elements in |small_data_| that have been constructed.
466 size_t size_;

Callers 1

SmallVectorClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected