by Munksgaard · 7y ago · 0 comments
GP should note that C++’s unique_ptr isn’t an obscurity.
It doesn't matter if some people are confused, because you can just explain what it is in 3 seconds. What's important for such a ubiquitous type is that the name is short.
That would be very misleading since Box represents a heap-allocated owned value