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

Function make_daytime_string

example/cpp11/tutorial/daytime3/server.cpp:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18using boost::asio::ip::tcp;
19
20std::string make_daytime_string()
21{
22 using namespace std; // For time_t, time and ctime;
23 time_t now = time(0);
24 return ctime(&now);
25}
26
27class tcp_connection
28 : public std::enable_shared_from_this<tcp_connection>

Callers 1

startMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected