MCPcopy Create free account
hub / github.com/HelenOS/helenos / clear

Method clear

uspace/lib/cpp/src/system_error.cpp:140–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 }
139
140 void error_code::clear() noexcept
141 {
142 val_ = 0;
143 cat_ = &system_category();
144 }
145
146 int error_code::value() const noexcept
147 {

Callers 7

test_emplace_insertMethod · 0.45
test_emplace_insertMethod · 0.45
test_modifiersMethod · 0.45
test_emplace_insertMethod · 0.45
test_emplace_insertMethod · 0.45
test_push_popMethod · 0.45
con_clear_srvFunction · 0.45

Calls

no outgoing calls

Tested by 6

test_emplace_insertMethod · 0.36
test_emplace_insertMethod · 0.36
test_modifiersMethod · 0.36
test_emplace_insertMethod · 0.36
test_emplace_insertMethod · 0.36
test_push_popMethod · 0.36