by datamart · 8y ago · 0 comments
So if you define a move constructor and still want your class to have a copy constructor, you'll have to explicitly define the copy constructor, too.
A::A(const A &other) = default;