I reflecting about memcpy.
I know that memcpy is for copy a variable to variable.
But it is not better to use: (for ex.)
int a = 5;
int b;
b = a;
Instead memcpy ?
or use std::move instead memmove ?
MemcpyandMemmoveare not outdated/slowly functions (perhaps these functions are from C)?- If yes, what is the best way to replace these functions in C++11 standard ?