Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Struct fd_deleter

boost::scope::fd_deleter — POSIX-like file descriptor deleter.

Synopsis

// In header: <boost/scope/fd_deleter.hpp>


struct fd_deleter {
  // types
  typedef void result_type;

  // public member functions
  result_type operator()(int) const noexcept;
};

Description

fd_deleter public member functions

  1. result_type operator()(int fd) const noexcept;
    Closes the file descriptor.

PrevUpHomeNext