...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The posix::descriptor_base
class is used as
a base for the posix::basic_stream_descriptor
class template
so that we have a common place to define the associated IO control commands.
class descriptor_base
Name |
Description |
---|---|
IO control command to get the amount of data that can be read without blocking. |
|
(Deprecated: Use non_blocking().) IO control command to set the blocking mode of the descriptor. |
Name |
Description |
---|---|
Protected destructor to prevent deletion through this type. |
Header: boost/asio/posix/descriptor_base.hpp
Convenience header: boost/asio.hpp