News for hackers. Stuff that matters.
Re:C++ by Example by planede on Thursday September 22, 2022 @11:11AM (#32939959)
I agree. If you can, just use the make_* functions. It also reduces needless repetition. For `make_*<Widget>(args...)` I need to write the type once, for `*_ptr<Widget>(new Widget)` I need to write the same type twice. Not counting cases for `Base/Derived`.

There are no comments on this comment yet.