News for hackers. Stuff that matters.
Re:Ill-Advised C++ Rant, Part 2 (2016) by Koshkin on Wednesday October 25, 2017 @05:30PM (#15554458)
> Define a new wrapper class

For simple types, for which this makes most sense but from which you cannot inherit, it is a lot of work.

Re:Ill-Advised C++ Rant, Part 2 (2016) by tempodox on Thursday October 26, 2017 @01:01AM (#15556479)
Just to play devil's advocate, you could make a template for defining such wrappers. But then, it might just as well be built into the language for elimination of such boilerplate.