Invalid covariant type with CRTP clonable class
Even if B is indeed derived from Clonable<B>, the problem here is that Clonable<B> construction is not valid, as it defines B* clone() const override which of course is not an override of AbstractClonable::clone(), since the compiler doesn’t see B at this point as a child of AbstractClonable. So I believe the issue lays in … Read more