A convenience bundle of precondition, data and where for reading into a T as specified by its to_asio_buffers() overload. Data MUST stay around until the operation completes.
More...
Public Member Functions |
| | io_req () |
| | Default constructor.
|
| | io_req (const io_req &o) |
| | Copy constructor.
|
| | io_req (io_req &&o) noexcept |
| | Move constructor.
|
| io_req & | operator= (const io_req &o) |
| | Copy assignment.
|
| io_req & | operator= (io_req &&o) noexcept |
| | Move assignment.
|
| | io_req (future<> _precondition, void *v, size_t _length, off_t _where) |
| | Constructs an instance.
|
| bool | validate () const |
| | Validates contents for correctness.
|
Public Attributes |
| future | precondition |
| | A precondition containing an open file handle for this operation.
|
| std::vector< asio::mutable_buffer > | buffers |
| | A sequence of mutable Boost.ASIO buffers to read into.
|
| off_t | where |
| | The offset from which to read.
|
template<>
struct boost::afio::io_req< void >
A convenience bundle of precondition, data and where for reading into a T as specified by its to_asio_buffers() overload. Data MUST stay around until the operation completes.
Definition at line 3271 of file afio.hpp.