
19 May
2009
19 May
'09
8:18 p.m.
Ross Levine skrev:
What would be REALLY nice, is if there was an auto_vector and an auto_set and an auto_map, etc. If anyone has looked into EASTL, they have various fixed_ containers that work this way. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html#Functiona...
I think this is a great idea, personally.
Seems like a lot of work too. I wonder if not the majority of the use cases falls into local objects. In that case, we should be able to use a special stack_based_allocator with existing containers. -Thorsten