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


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

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at