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

Class short_transfer

test/write.cpp:401–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401struct short_transfer
402{
403 short_transfer() {}
404 short_transfer(short_transfer&&) {}
405 size_t operator()(const boost::system::error_code& ec,
406 size_t /*bytes_transferred*/)
407 {
408 return !!ec ? 0 : 3;
409 }
410};
411
412void test_3_arg_const_buffer_write()
413{

Calls

no outgoing calls