Relinquishes ownership of `T*`, returning it. If `T` was allocated and constructed using an arena, no further action is required. If `T` was allocated and constructed without an arena, the caller must eventually call `delete`.
| 554 | // allocated and constructed without an arena, the caller must eventually call |
| 555 | // `delete`. |
| 556 | ABSL_MUST_USE_RESULT T* release() noexcept { |
| 557 | PreRelease(); |
| 558 | return std::exchange(ptr_, nullptr); |
| 559 | } |
| 560 | |
| 561 | void reset() noexcept { reset(nullptr); } |
| 562 |
no test coverage detected