[Development] Use RAII for non-pointer resources
denis.shienkov at gmail.com
Sun Mar 12 15:23:53 CET 2017
what do you think about using of RAII, e.g. for:
* Windows: for HANDLE, HKEY and so on.
* POSIX: for fd and so on.
* OSX: for io_registry_entry_t and so on.
As we use C++11 now everywhere, then, maybe can be to add appropriate
RAII functionality e.g. to qcore_unix_p.h, qcore_win_p.h, qcore_mac_p.h
and soo on. :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development