Boost logo

Boost Users :

Subject: [Boost-users] multi_index reserve but allocate
From: Olivier Tristan (o.tristan_at_[hidden])
Date: 2019-03-19 17:14:19


Hi,

Looks like that even if I call reserve on a multi_index, it stills
allocate memory while I am still below the reserve size.

Is this the intended behavior ?

If so, what is the best way to avoid allocation in a fixed sized multi_index

Thanks !

-- 
Olivier Tristan
Research & Development
www.uvi.net

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net