[#CNetMessage-2constructor-0e] = xref:CNetMessage.adoc[CNetMessage]::CNetMessage :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<net.h>` Deleted copy constructor; messages are move‐only. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CNetMessage/2constructor-0a7.adoc[CNetMessage](xref:CNetMessage.adoc[CNetMessage] const& other) = delete; ---- [.small]#xref:CNetMessage/2constructor-0a7.adoc[_» more..._]# Move‐construct a message. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:CNetMessage/2constructor-0ac.adoc[CNetMessage](xref:CNetMessage.adoc[CNetMessage]&& other) = default; ---- [.small]#xref:CNetMessage/2constructor-0ac.adoc[_» more..._]# Construct a message that takes ownership of the received data stream. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:CNetMessage/2constructor-06.adoc[CNetMessage](xref:DataStream.adoc[DataStream]&& recv_in); ---- [.small]#xref:CNetMessage/2constructor-06.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *other* | the message that would be copied from. | *recv_in* | the received data stream to take ownership of. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#