User Profile

Collapse

Profile Sidebar

Collapse
Seismic
Seismic
Last Activity: Apr 20 '12, 12:22 PM
Joined: Mar 12 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Seismic
    replied to boost dynamic_bitset block size issue
    in C
    I got what you said (and thanks in advance for helping me).
    I had a look into the template. The block size is set, by default, to unsigned long (32 bytes). I tried to set the block size to unsigned char (1byte) by using the template syntax (it accepts only unsigned integer data types instead of the default block size) but the output of the function sizeof still is 32 bytes allocation. I was wondering if it is just a matter of "wrong"...
    See more | Go to post

    Leave a comment:


  • Seismic
    started a topic boost dynamic_bitset block size issue
    in C

    boost dynamic_bitset block size issue

    I am designing an application in which I need to deal with many different variables in which different sequences of bits are stored. I have very strict memory requirements so I decided to use the boost::dynamic_ bitset data type which works very well in my scenario as I need to dynamically allocate/deallocate/resize the variables.

    The only problem is that I am not able to change the size of the blocks in which the dynamic_bitsets are...
    See more | Go to post
No activity results to display
Show More
Working...