| 58 | return std::exchange(handle_, nullptr); |
| 59 | } |
| 60 | Handle::HandleType* Handle::ClearAndGetAddressOf() |
| 61 | { |
| 62 | Clear(); |
| 63 | return &handle_; |
| 64 | } |
| 65 | Handle::operator bool() const noexcept |
| 66 | { |
| 67 | return handle_ != nullptr && handle_ != INVALID_HANDLE_VALUE; |
no outgoing calls
no test coverage detected