|
Boost : |
Subject: [boost] [unordered] please don't allocate memory in the default constructor
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-07-14 18:44:48
Hi Jeremy,
I think this a really bad idea to allocate in the default construtor.
The user can always call rehash() on the empty container, just like when
we call reserve() for vector.
Thanks
-Thorsten
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk