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

Class short_transfer

test/read_at.cpp:471–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469}
470
471struct short_transfer
472{
473 short_transfer() {}
474 short_transfer(short_transfer&&) {}
475 size_t operator()(const boost::system::error_code& ec,
476 size_t /*bytes_transferred*/)
477 {
478 return !!ec ? 0 : 3;
479 }
480};
481
482void test_4_arg_mutable_buffer_read_at()
483{

Calls

no outgoing calls