Boost logo

Boost :

Subject: Re: [boost] [dynamic_bitset] capacity(), reserve(), shrink_to_fit()
From: Riccardo Marcangelo (ricky.65_at_[hidden])
Date: 2014-11-24 12:47:55

Sorry for the delay.

I've completed the documentation and tests.

For shrink_to_fit() I'm currently using the old "swap trick" on the
underlying std::vector. It would be preferable to call the
vector::shrink_to_fit() member function if it exists (e.g. by using a macro)
although I'm not sure what the protocol is for this in Boost.

Kind regards,


View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at