Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HelenOS/helenos
/ assign
Method
assign
uspace/lib/cpp/src/system_error.cpp:134–138 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
132
{ /* DUMMY BODY */ }
133
134
void error_code::assign(int val, const error_category& cat) noexcept
135
{
136
val_ = val;
137
cat_ = &cat;
138
}
139
140
void error_code::clear() noexcept
141
{
Callers
3
test_construction_and_assignment
Method · 0.45
test_construction_and_assignment
Method · 0.45
test_constructors_and_assignment
Method · 0.45
Calls
no outgoing calls
Tested by
3
test_construction_and_assignment
Method · 0.36
test_construction_and_assignment
Method · 0.36
test_constructors_and_assignment
Method · 0.36