In bits/stl_deque.h, line 80ff the minimal allocated size is set fixed to 512. This should be configurable, at least via a macro. In case of small memory systems (embedded devices) resveration of this amount of memory is much too high.
-- Summary: deque shouldn't reserve that much memory Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kraemer at informatik dot uni-kl dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42381