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

Method create

example/cpp11/windows/transmit_file.cpp:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 typedef std::shared_ptr<connection> pointer;
66
67 static pointer create(boost::asio::io_context& io_context,
68 const std::string& filename)
69 {
70 return pointer(new connection(io_context, filename));
71 }
72
73 tcp_socket& socket()
74 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected