MCPcopy Create free account
hub / github.com/boostorg/asio / short_transfer

Class short_transfer

test/read.cpp:431–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431struct short_transfer
432{
433 short_transfer() {}
434 short_transfer(short_transfer&&) {}
435 size_t operator()(const boost::system::error_code& ec,
436 size_t /*bytes_transferred*/)
437 {
438 return !!ec ? 0 : 3;
439 }
440};
441
442void test_3_arg_mutable_buffer_read()
443{

Calls

no outgoing calls