| 17 | Handle() noexcept : handle(INVALID_HANDLE_VALUE) { } |
| 18 | ~Handle() noexcept { close(); } |
| 19 | void close() noexcept { |
| 20 | if (handle != INVALID_HANDLE_VALUE) |
| 21 | CloseHandle(handle); |
| 22 | } |
| 23 | HANDLE detach() noexcept { |
| 24 | HANDLE old_handle = handle; |
| 25 | handle = INVALID_HANDLE_VALUE; |
nothing calls this directly
no outgoing calls
no test coverage detected