Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/asio
/ join
Method
join
example/cpp20/coroutines/chat_server.cpp:54–59 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
52
{
53
public:
54
void join(chat_participant_ptr participant)
55
{
56
participants_.insert(participant);
57
for (auto msg: recent_msgs_)
58
participant->deliver(msg);
59
}
60
61
void leave(chat_participant_ptr participant)
62
{
Callers
1
start
Method · 0.45
Calls
2
insert
Method · 0.80
deliver
Method · 0.45
Tested by
no test coverage detected