Which Lines Are Rejected
Which lines does a conforming compiler reject?
struct A { virtual void run(); }; // line 1
struct B : A { void run() final; }; // line 2
struct C final : B { }; // line 3
struct D : B { void run(); }; // line 4
struct E : C { }; // line 5
Sign in to answer questions and track your progress
Sign In