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:http://stxxl.sourceforge.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