move_by_copy¶
Include dependency graph for move_by_copy.h:
This graph shows which files directly or indirectly include move_by_copy.h:
todo
-
namespace move_by_copy_util¶
Functions
-
template<class T>
MoveByCopy<T> cmove(T &movable)¶
-
template<class T>
MoveByCopy<T> const_cmove(const T &movable)¶
-
template<class T>
class MoveByCopy¶ - #include <src/move_by_copy.h>
When a copy is made, it moves the object This allows you to move an object when a move can’t be done.
Public Functions
-
inline MoveByCopy(const MoveByCopy &other)¶
-
MoveByCopy(MoveByCopy &&other) = default¶
-
inline MoveByCopy &operator=(const MoveByCopy &other)¶
-
MoveByCopy &operator=(MoveByCopy &&other) = default¶
-
inline MoveByCopy(const MoveByCopy &other)¶
-
template<class T>