Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acm-clan/algorithm-stone
/ setRight
Method
setRight
templates/rb.cpp:50–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
}
49
50
void setRight(RBTreeNode* n)
51
{
52
if (n == nullptr) {
53
printf(
"wrong left\n"
);
54
}
55
right = n;
56
}
57
58
bool isLeft()
59
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected