| 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_; } |
nothing calls this directly
no outgoing calls
no test coverage detected