Re:How C++17 Benefits from Boost Libraries
by ncmncm on Thursday November 21, 2019 @04:55PM
(#21600128)
For fun, call reserve() on one of the Boost hash containers when it's empty, and see when the bucket-array allocation really happens. (Don't try this in time-critical code.)
Fortunately the Standard containers do better. But the Standard doesn't say they must.
Fortunately the Standard containers do better. But the Standard doesn't say they must.