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.
For simple types, for which this makes most sense but from which you cannot inherit, it is a lot of work.