Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HelenOS/helenos
/ prepend
Method
prepend
uspace/lib/cpp/include/__bits/adt/list_node.hpp:75–84 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
}
74
75
void prepend(list_node* node)
76
{
77
if (!node)
78
return;
79
80
node->next = this;
81
node->prev = prev;
82
prev->next = node;
83
prev = node;
84
}
85
86
void unlink()
87
{
Callers
5
emplace
Method · 0.45
insert
Method · 0.45
insert
Method · 0.45
emplace
Method · 0.45
prepend_new_
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected