...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Base class for all I/O objects.
template< typename IoObjectService> class basic_io_object
Name |
Description |
---|---|
The underlying implementation type of I/O object. |
|
The type of the service that will be used to provide I/O operations. |
Name |
Description |
---|---|
Get the io_service associated with the object. |
Name |
Description |
---|---|
Construct a basic_io_object. Move-construct a basic_io_object. |
|
Get the underlying implementation of the I/O object. |
|
Get the service associated with the I/O object. |
|
Move-assign a basic_io_object. |
|
Protected destructor to prevent deletion through this type. |
Name |
Description |
---|---|
(Deprecated: Use get_implementation().) The underlying implementation of the I/O object. |
|
(Deprecated: Use get_service().) The service associated with the I/O object. |
All I/O objects are non-copyable. However, when using C++0x, certain I/O objects do support move construction and move assignment.
Header: boost/asio/basic_io_object.hpp
Convenience header: boost/asio.hpp