Freigeben über


unique_lock::swap Method

Swaps the associated mutex and ownership status with that of a specified object.

void swap(
   unique_lock& Other
) _NOEXCEPT;

Parameters

  • Other
    A unique_lock object.

Requirements

Header: mutex

Namespace: std

See Also

Reference

unique_lock Class

<mutex>