Boost logo

Boost Users :

From: Graham Reitz (graham.cpp_at_[hidden])
Date: 2007-05-24 17:20:49


What is an efficient method using dynamic_bitset to do the following?

bitset1<16> = 0xabcd
mask<16> = 0x000f
result<4> = (bitset1 & mask)

What is the syntax to remove a subset of bits from a dynamic bitset?

Thanks,
Graham



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