Description
The boolean operators for ats_scoped_fd are a compile problem in some supported compilers. They are also inappropriate for a file descriptor as they encourage uses which are different (and wrong) for file descriptors, which should be checked for being negative rather than directly as booleans.