MCPcopy Create free account
hub / github.com/OISF/libhtp / ~NativeArray

Method ~NativeArray

test/gtest/gtest.h:7729–7736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7727 }
7728
7729 ~NativeArray() {
7730 // Ensures that the user doesn't instantiate NativeArray with a
7731 // const or reference type.
7732 static_cast<void>(StaticAssertTypeEqHelper<Element,
7733 GTEST_REMOVE_REFERENCE_AND_CONST_(Element)>());
7734 if (relation_to_source_ == kCopy)
7735 delete[] array_;
7736 }
7737
7738 // STL-style container methods.
7739 size_t size() const { return size_; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected