cpp/thread/shared lock/operator=

Move assignment operator. Replaces the contents with those of using move semantics.

If, prior to this call, has an associated mutex ((mutex returns a non-null pointer) and has acquired ownership of it (owns returns ), the mutex is unlocked by calling std.

After this call, has no associated mutex.