Have boost::dynamic_bitset hidden, do not use it directly. Instead, identify the used functionality and create a new class that exposes corresponding methods, using boost::dynamic_bitset under the hoods.
The aim of this is a) to reduce the coupling with boost::dynamic_bitset, b) identify potential bugs due to misuse of boost::bitset (e.g. block-by-block append), c) study the actual needs in terms of bit manipulation so that we can find a proper replacement
Have boost::dynamic_bitset hidden, do not use it directly. Instead, identify the used functionality and create a new class that exposes corresponding methods, using boost::dynamic_bitset under the hoods.
The aim of this is a) to reduce the coupling with boost::dynamic_bitset, b) identify potential bugs due to misuse of boost::bitset (e.g. block-by-block append), c) study the actual needs in terms of bit manipulation so that we can find a proper replacement