PrevUpHomeNext

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.

constructor-12

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.

Note

Rvalue constructor is experimental, it is not allowed at the first time,
Then it is added, removed, and added again.
Rvalue constructor should be used carefuly in a video driver that does not well support multithreading programming.
I might remove it again if a more well reason is found in the future.

Back

Up

c++

Duckcpp

cppfx.xyz


PrevUpHomeNext