Assignment operators

Synopses

Declared in <coins.h>

Copy assignment is disabled so the cache is reset exactly once.

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

Move assignment is disabled so the cache is reset exactly once.

ResetGuard&
operator=(ResetGuard&& other) = delete;

Return Value

Never returns; this overload is deleted.

Parameters

Name

Description

other

The guard that would be assigned from (assignment is disabled).

Created with MrDocs