Audacity 3.2.0
socket_guard.h File Reference
#include <cassert>
#include "ipc-types.h"
Include dependency graph for socket_guard.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  socket_guard
 RAII-style socket wrapper. Since socket is closed on wrapper destruction, initializing multiple guards with same(valid) socket descriptor is considered UB. For same reason wrapper isn't copyable. More...