Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

reasons for missing abstract keyword [duplicate]

Tags:

c++

What is the reason for not using abstract keyword in C++? As I read the only way to declare a class as abstract is to declare pure virtual function in it, which is a bit convoluted. Why isn't there a more direct way of declaring an abstract class?

like image 623
Wojtek Avatar asked Dec 12 '25 21:12

Wojtek


1 Answers

I think that the main reason is unwillingness to introduce a new keyword. All was tried to do in the frames of C keywords.

like image 135
Vlad from Moscow Avatar answered Dec 14 '25 13:12

Vlad from Moscow