News for hackers. Stuff that matters.
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, ...
Re:The libkern C++ Runtime by pjmlp on Thursday July 12, 2018 @07:22AM (#17513523)
Stronger type safety, fewer implicit conversions.
Re:The libkern C++ Runtime by masklinn on Thursday July 12, 2018 @07:26AM (#17513534)
> fewer implicit conversions.

Surely C++ has way more implicit conversions than C, what with having all of C's and ctors defaulting to converting?

Re:The libkern C++ Runtime by pjmlp on Thursday July 12, 2018 @08:09AM (#17513704)
Only if developers are too lazy to use explicit.

I was referring to C implicit conversions that aren't valid in C++ code, like void* to other pointer types.