Rvalue copy constructor: dcpp::shared_device
Rvalue copy constructor of dcpp::shared_device: move underlying device
of temporary dcpp::shared_device object to the new created object.
Calling Sig:
shared_device(const self_type && other__);
Rvalue copy constructor of dcpp::shared_device will move the underlying
device of other temporary object to the new created object, the device
of other temporary object will be dereferenced.
-
The other temporary object of dcpp::shared_device: underlying device
is dereferenced, reference counter is set to zero.
-
If the underlying device of other temporary object has been bound to
many objects, all reference counter of them will be set to zero.
-
The new created object of dcpp::shared_device: reference to the moved
underlying device, reference counter is set to one.
-
If other__ has invalid underlying device or other__'s reference counter
is zero, the new created object's reference counter keeps zero.
Up
Duckcpp
cppfx.xyz