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

Function assign

3rd/asio-1.24.0/include/asio/basic_writable_pipe.hpp:307–312  ·  view source on GitHub ↗

Assign an existing native pipe to the pipe. * This function opens the pipe to hold an existing native pipe. * * @param native_pipe A native pipe. * * @throws asio::system_error Thrown on failure. */

Source from the content-addressed store, hash-verified

305 * @throws asio::system_error Thrown on failure.
306 */
307 void assign(const native_handle_type& native_pipe)
308 {
309 asio::error_code ec;
310 impl_.get_service().assign(impl_.get_implementation(), native_pipe, ec);
311 asio::detail::throw_error(ec, "assign");
312 }
313
314 /// Assign an existing native pipe to the pipe.
315 /*

Callers

nothing calls this directly

Calls 2

throw_errorFunction · 0.85
assignMethod · 0.45

Tested by

no test coverage detected