asio C++ library

PrevUpHomeNext

datagram_socket_service::converting_move_construct

Move-construct a new datagram socket implementation from another protocol type.

template<
    typename Protocol1>
void converting_move_construct(
    implementation_type & impl,
    typename datagram_socket_service< Protocol1 >::implementation_type & other_impl,
    typename enable_if< is_convertible< Protocol1, Protocol >::value >::type *  = 0);

PrevUpHomeNext