move_by_copy#

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#

Public Types

typedef T move_type#

Public Functions

inline MoveByCopy(const MoveByCopy &other)#
inline explicit MoveByCopy(move_type &&to_move)#
MoveByCopy(MoveByCopy &&other) = default#
inline operator move_type()#
inline MoveByCopy &operator=(const MoveByCopy &other)#
MoveByCopy &operator=(MoveByCopy &&other) = default#

Private Members

move_type _to_move#