Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
{
42
public:
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
start
Method · 0.45
main
Function · 0.45
Calls
2
insert
Method · 0.80
deliver
Method · 0.45
Tested by
no test coverage detected