Skip to content

shared_memory operator=

Alairion edited this page May 8, 2021 · 2 revisions

nes::shared_memory::operator=

Functions

(1) shared_memory& operator=(const shared_memory&) = delete;
(2) shared_memory& operator=(shared_memory&& other) noexcept;
  1. Deleted copy-assignment operator.
  2. Move-assignment operator. Replace the content with those of other. After this call, other does no longer represents any shared memory object.

Parameters

Name Description
other An instance of nes::shared_memory

Return value

  1. Deleted.
  2. *this

Exceptions

  1. Deleted.
  2. Does not throw.
Clone this wiki locally