3 ms·
> aren't classes, templates, and exceptions the things that have classically differentiated C and C++? The key difference is the destructor. Classes, templates
by ncmncm 7y ago
> aren't classes, templates, and exceptions the things that have classically differentiated C and C++?
The key difference is the destructor. Classes, templates, and exceptions extend the reach and value of the destructor. Absent the destructor, the other stuff is of little value (cf. Java).