Warning: This is NOT a duplicate of What is object slicing? , I already read it and it doesn't clarify my issue
My question is: why is the lack of a copy constructor a problem in a base class regarding object slicing? If I do something like
Base base;
Derived derived;
Base newbaseobj((Base)derived);
this is a classic slicing problem in the first place! I don't see why or how defining a user-defined copy constructor in Base would help
Edit: I'm asking this because these answers: https://stackoverflow.com/a/26040064/1938163 and https://stackoverflow.com/a/26040050/1938163 seemed implying that I need to define/default a copy constructor to deal with object slicing