Assignment operators

Synopses

Declared in <net.h>

Deleted copy assignment; messages are move‐only.

CNetMessage&
operator=(CNetMessage const& other) = delete;

Move‐assign a message.

constexpr
CNetMessage&
operator=(CNetMessage&& other) = default;

Return Value

a reference to this message.

Parameters

Name

Description

other

the message that would be copied from.

Created with MrDocs