...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::scope::fd_deleter — POSIX-like file descriptor deleter.
// In header: <boost/scope/fd_deleter.hpp> struct fd_deleter { // types typedef void result_type; // public member functions result_type operator()(int) const noexcept; };