Move‐construct a guard from original, leaving it empty.
Synopsis
Declared in <bdlmt_signaler.h>
SignalerConnectionGuard(bslmf::MovableRef<SignalerConnectionGuard> original) noexcept;
Description
Create a SignalerConnectionGuard that manages the same slot, if any, as the specified original, which is left in the default‐constructed state. Copy the waitOnDisconnect state from original, indicating whether disconnect() or disconnectAndWait() will be called on the slot, if any, contained in this object upon destruction or assignment. Throws nothing.
Parameters
Name |
Description |
original |
guard to move from |
Created with MrDocs