Boost Libraries under development: Bitfields

Hi, I have adapted the Bitfield library from Emile Cormier with its permision. Boost.Bitfield consists of: a.. a generic bitfield traits class providing generic getter and setter methods. b.. a BOOST_BITFIELD_DCL macro making easier the definition of the bitfield traits and the bitfield getter and setter functions. struct X { typedef boost::ubig_32 storage_type; storage_type d0; typedef unsigned int value_type; BOOST_BITFIELD_DCL(storage_type, d0, unsigned int, d00, 0, 10); BOOST_BITFIELD_DCL(storage_type, d0, unsigned int, d01, 11, 31); }; The library is quite stable but I want to add some test with Boost.Endian before adding it to the formal review schedule list. Here is the link from which you can get the library code + documentation + test https://svn.boost.org/trac/boost/wiki/LibrariesUnderConstruction#Boost.Bitfi... I'd appreciate if people could take a look, test it on their compiler and give me some feedback. Thanks for all, _____________________ Vicente Juan Botet Escribá

Vicente, qq without checking the documentation. ;-) Could I use that lib for gil::bit_aligned_image_t<...> ? Thanks, Christian

Hi, ----- Original Message ----- From: "Christian Henning" <chhenning@gmail.com> To: <boost@lists.boost.org> Sent: Wednesday, May 13, 2009 12:31 AM Subject: Re: [boost] Boost Libraries under development: Bitfields
Vicente, qq without checking the documentation. ;-) Could I use that lib for gil::bit_aligned_image_t<...> ?
I don't really understand the question as anyone can use the library. So yes you can.
Thanks, Christian
Hoping it is useful for you. Vicente
participants (2)
-
Christian Henning
-
vicente.botet