> why not just return any old pointer type?
Using a pointer type in a straightforward manner would entail allocating the object on the heap.If allocated on the stack it has obvious lifetime limitations.
> why not just return any old pointer type?
Using a pointer type in a straightforward manner would entail allocating the object on the heap.If allocated on the stack it has obvious lifetime limitations.
No comments yet.