3 ms·
> 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 t
by matvore 5y ago
> 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.