MCPcopy Create free account
hub / github.com/alibaba/async_simple / assign

Method assign

demo_example/asio/asio/error_code.hpp:112–116  ·  view source on GitHub ↗

Assign a new error value.

Source from the content-addressed store, hash-verified

110
111 /// Assign a new error value.
112 void assign(int v, const error_category& c)
113 {
114 value_ = v;
115 category_ = &c;
116 }
117
118 /// Get the error value.
119 int value() const

Callers 6

basic_socketFunction · 0.45
assignFunction · 0.45
basic_socket_acceptorFunction · 0.45
assignFunction · 0.45
basic_fileFunction · 0.45
assignFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected