move_by_copy#
Include dependency graph for move_by_copy.h:
![digraph {
graph [bgcolor="#00000000"]
node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
edge [color="#1414CE"]
"2" [label="utility" tooltip="utility"]
"1" [label="src/move_by_copy.h" tooltip="src/move_by_copy.h" fillcolor="#BFBFBF"]
"1" -> "2" [dir=forward tooltip="include"]
}](../../_images/graphviz-fde3a412c078085c349edaf283391f1e52a683c1.png)
This graph shows which files directly or indirectly include move_by_copy.h:
![digraph {
graph [bgcolor="#00000000"]
node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
edge [color="#1414CE"]
"3" [label="src/platform/linux/x11grab.cpp" tooltip="src/platform/linux/x11grab.cpp"]
"5" [label="src/entry_handler.h" tooltip="src/entry_handler.h"]
"4" [label="src/thread_pool.h" tooltip="src/thread_pool.h"]
"7" [label="src/entry_handler.cpp" tooltip="src/entry_handler.cpp"]
"6" [label="src/config.cpp" tooltip="src/config.cpp"]
"17" [label="src/upnp.cpp" tooltip="src/upnp.cpp"]
"12" [label="src/input.cpp" tooltip="src/input.cpp"]
"13" [label="src/main.cpp" tooltip="src/main.cpp"]
"14" [label="src/platform/windows/input.cpp" tooltip="src/platform/windows/input.cpp"]
"18" [label="src/video.cpp" tooltip="src/video.cpp"]
"8" [label="src/globals.h" tooltip="src/globals.h"]
"2" [label="src/task_pool.h" tooltip="src/task_pool.h"]
"15" [label="src/platform/windows/misc.cpp" tooltip="src/platform/windows/misc.cpp"]
"9" [label="src/audio.cpp" tooltip="src/audio.cpp"]
"16" [label="src/stream.cpp" tooltip="src/stream.cpp"]
"10" [label="src/confighttp.cpp" tooltip="src/confighttp.cpp"]
"1" [label="src/move_by_copy.h" tooltip="src/move_by_copy.h" fillcolor="#BFBFBF"]
"11" [label="src/globals.cpp" tooltip="src/globals.cpp"]
"19" [label="src/platform/macos/misc.mm" tooltip="src/platform/macos/misc.mm"]
"5" -> "6" [dir=back tooltip="include"]
"5" -> "7" [dir=back tooltip="include"]
"5" -> "8" [dir=back tooltip="include"]
"5" -> "13" [dir=back tooltip="include"]
"5" -> "19" [dir=back tooltip="include"]
"5" -> "15" [dir=back tooltip="include"]
"4" -> "5" [dir=back tooltip="include"]
"4" -> "8" [dir=back tooltip="include"]
"4" -> "12" [dir=back tooltip="include"]
"8" -> "9" [dir=back tooltip="include"]
"8" -> "10" [dir=back tooltip="include"]
"8" -> "7" [dir=back tooltip="include"]
"8" -> "11" [dir=back tooltip="include"]
"8" -> "12" [dir=back tooltip="include"]
"8" -> "13" [dir=back tooltip="include"]
"8" -> "3" [dir=back tooltip="include"]
"8" -> "14" [dir=back tooltip="include"]
"8" -> "15" [dir=back tooltip="include"]
"8" -> "16" [dir=back tooltip="include"]
"8" -> "17" [dir=back tooltip="include"]
"8" -> "18" [dir=back tooltip="include"]
"2" -> "3" [dir=back tooltip="include"]
"2" -> "4" [dir=back tooltip="include"]
"1" -> "2" [dir=back tooltip="include"]
}](../../_images/graphviz-58d54fa631e255f9a13582eb09f1c1978a98b08a.png)
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>