Efficiently moving a class with PODs

Viewed 4474

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).

4 Answers
Related