Boost logo

Boost Users :

Subject: Re: [Boost-users] container with large number of elements and a small number of invalide elements
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2013-10-31 12:10:06

What would "valid"/"invalid" means here?
If it's "exist" or "don't exist", then maybe using boost::optional<MyPod>
would be enough.

Did you try with a reserved std::vector already? If size is a problem using
it, then maybe STXXL would work for you:

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