
10 Jun
2009
10 Jun
'09
9:22 p.m.
On 10 Jun 2009, at 22:16, Thorsten Ottosen wrote:
Christopher Jefferson skrev:
On 9 Jun 2009, at 17:14, Christian Schladetsch wrote:
Hi Andrew:
Maybe yes, maybe no. My understanding of the allocators was that they were
originally used to abstract differences in pointer types like __far and __huge pointers. Their usage has become substantially more complex and varied since then.
If STL containers cannot be made by any means to use the stack for storage then we need a new set of containers.
There is no issue with using stack storage for containers -- I do it regularly.
Do you also do it for non-local containers?
I should say "In practice, I find it works, as long as I do not copy the container", no issue is too strong a claim, yes! Chris