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,

Riccardo.

--
View this message in context: http://boost.2283326.n4.nabble.com/dynamic-bitset-capacity-reserve-shrink-to-fit-tp4668281p4669443.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk