3 ms·
The article points out this; The rule for determining copy constructibility is whether a non-deleted copy constructor is present. In the case of Derived, it is
by rramadass 1y ago
The article points out this;
The rule for determining copy constructibility is whether a non-deleted copy constructor is present. In the case of Derived, it is present. It may not be instantiatable, but that’s not what is_copy_constructible looks for.
That is what you need to know.
- HelloNurse 1y agoIt's the best that a compiler can be reasonably expected to do.