![]() |
Sunshine latest
Self-hosted game stream host for Moonlight.
|
#include <src/move_by_copy.h>
Public Types | |
typedef T | move_type |
Public Member Functions | |
MoveByCopy (const MoveByCopy &other) | |
MoveByCopy (move_type &&to_move) | |
MoveByCopy (MoveByCopy &&other)=default | |
operator move_type () | |
MoveByCopy & | operator= (const MoveByCopy &other) |
MoveByCopy & | operator= (MoveByCopy &&other)=default |
When a copy is made, it moves the object This allows you to move an object when a move can't be done.