MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / clear

Method clear

3rd/asio-1.24.0/include/asio/error_code.hpp:105–109  ·  view source on GitHub ↗

Clear the error value to the default.

Source from the content-addressed store, hash-verified

103
104 /// Clear the error value to the default.
105 void clear()
106 {
107 value_ = 0;
108 category_ = &system_category();
109 }
110
111 /// Assign a new error value.
112 void assign(int v, const error_category& c)

Callers 15

from_jsonFunction · 0.45
~input_stream_adapterMethod · 0.45
get_characterMethod · 0.45
resetFunction · 0.45
get_cbor_objectMethod · 0.45
get_msgpack_objectMethod · 0.45
get_ubjson_objectMethod · 0.45
destroyFunction · 0.45
clearFunction · 0.45
destroyFunction · 0.45
clearFunction · 0.45

Calls

no outgoing calls

Tested by 11

TESTFunction · 0.36
ComputeMethod · 0.36
InvokeWithModifiedEnvFunction · 0.36
SetParametersMethod · 0.36
SetUpTestSuiteMethod · 0.36
TESTFunction · 0.36
ResetListMethod · 0.36
ClearTestPartResultsMethod · 0.36
ClearMethod · 0.36
InitGoogleTestImplFunction · 0.36