There has been a similar proposal back in 2006 (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2045.html#Problem%203)
It goes a bit further in allowing to request a minimum needed, and a prefered size and allow realloc to resize the memory approproately.
The main problem with those proposals seems to be that it would need support of the C-committee and all C-library vendors, which is difficult to achieve,
and it seems not clear if the performance win is big enough to warrant this cost.
best regards
Fabio Fracassi
--
---
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.