Box<T> is a type, so it’s confusing to say it returns a pointer. It holds a pointer.
GP should note that C++’s unique_ptr isn’t an obscurity.
GP should note that C++’s unique_ptr isn’t an obscurity.
That would be very misleading since Box represents a heap-allocated owned value
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.