Sunshine latest
Self-hosted game stream host for Moonlight.
move_by_copy_util::MoveByCopy< T > Class Template Reference

#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 ()
 
MoveByCopyoperator= (const MoveByCopy &other)
 
MoveByCopyoperator= (MoveByCopy &&other)=default
 

Detailed Description

template<class T>
class move_by_copy_util::MoveByCopy< T >

When a copy is made, it moves the object This allows you to move an object when a move can't be done.


The documentation for this class was generated from the following file: