Move‐assign this guard from rhs, disconnecting any prior slot.

Synopsis

Declared in <bdlmt_signaler.h>

Description

If there is a currently managed slot, call disconnect or disconnectAndWait on it, depending on the value of the waitOnDisconnect state. Make this connection refer to the same slot, if any, as the specified rhs, leaving rhs in the default‐constructed state. Use the waitOnDisconnect state of rhs, indicating whether disconnect() or disconnectAndWait() will be called on the slot managed by this object upon destruction or assignment. Return *this. Throws nothing.

Return Value

a reference to this guard

Parameters

Name

Description

rhs

guard to move from

Created with MrDocs