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

Method join

example/cpp11/chat/chat_server.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41{
42public:
43 void join(chat_participant_ptr participant)
44 {
45 participants_.insert(participant);
46 for (auto msg: recent_msgs_)
47 participant->deliver(msg);
48 }
49
50 void leave(chat_participant_ptr participant)
51 {

Callers 2

startMethod · 0.45
mainFunction · 0.45

Calls 2

insertMethod · 0.80
deliverMethod · 0.45

Tested by

no test coverage detected