2 ms·
Luckily, in modern C++, defining the copy constructor in this case (where you just want to make the default available) is as simple as: A::A(const A &other
by microtherion 8y ago
Luckily, in modern C++, defining the copy constructor in this case (where you just want to make the default available) is as simple as:
A::A(const A &other) = default;