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

Method create

example/cpp11/tutorial/daytime7/server.cpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 typedef std::shared_ptr<tcp_connection> pointer;
34
35 static pointer create(boost::asio::io_context& io_context)
36 {
37 return pointer(new tcp_connection(io_context));
38 }
39
40 tcp::socket& socket()
41 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected