How do I efficiently move a class with a large set of POD members? Example:
struct{
int a1;
int a2;
int a3;
...
...
...
};
By 'move' I mean that the behavior is similar to the move semantic (std::move).
How do I efficiently move a class with a large set of POD members? Example:
struct{
int a1;
int a2;
int a3;
...
...
...
};
By 'move' I mean that the behavior is similar to the move semantic (std::move).