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

Class short_transfer

test/write_at.cpp:416–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416struct short_transfer
417{
418 short_transfer() {}
419 short_transfer(short_transfer&&) {}
420 size_t operator()(const boost::system::error_code& ec,
421 size_t /*bytes_transferred*/)
422 {
423 return !!ec ? 0 : 3;
424 }
425};
426
427void test_4_arg_const_buffer_write_at()
428{

Calls

no outgoing calls