Re:The libkern C++ Runtime
by gigatexal on Thursday July 12, 2018 @04:39AM
(#17513050)
They took out templates, inheritance, exceptions? What’s left to make it not just C?
[ Parent
| on HN ]
Re:The libkern C++ Runtime
by BlackFingolfin on Thursday July 12, 2018 @05:35AM
(#17513211)
Plenty: classes (including constructors/destructors, virtual methods, etc.), operator overloading, patterns like RAII, ...
Stronger type safety, fewer implicit conversions.
> fewer implicit conversions.
Surely C++ has way more implicit conversions than C, what with having all of C's and ctors defaulting to converting?