开发者

bitset

0
  • bitsets in C++ using VS2010

    I can\'t figure out if I\'m doing anything wrong here, hopefully someone here can enlighten me. I have a class Flags, this is an extremely simplified version but I declare a bitset[详细]

    2023-03-26 04:08 分类:问答
  • How to over come Bitset error [duplicate]

    This question already has answers here: Define bitset size at initialization? (7 answers) Closed 5 years ago.[详细]

    2023-03-25 18:09 分类:问答
  • Bitset Reference

    From http://www.cplusplus.com/reference/stl/bitset/: Because no such small elemental type exists in most C++ environments, the individual elements are accessed as special references which mimic bool[详细]

    2023-03-12 05:01 分类:问答
  • what type use for bitset type in C language

    I have to define a bitset type to build bit arrays. Between those arrays bit operations like and/or/xor could[详细]

    2023-03-10 21:01 分类:问答
  • c++ bitset problem with output

    I was working around with bitset, and so i was wondering what would be the best way to convert a base-10 to base-2, because for some reason i get the wrong answer:[详细]

    2023-03-10 19:06 分类:问答
  • boost::dynamic_bitset concat performance

    I want to concat a big bitset with a smaller one in a way that wont kill performance. Currently my application spends 20% of cpu time in just the following code:[详细]

    2023-02-28 19:49 分类:问答
  • Define a large bitset in C++

    In my program I need to check if I have already generated a value in a set of 2.5*10^9. I expect to generate about the half of the set and need to have a fast way to check and update it. The bitset se[详细]

    2023-02-28 19:33 分类:问答
  • Bitset operation in c++

    I am trying to pass bitset parameter to the below function but I am not able to: error: no matching function for call to search(std::bitset<100000000ul>&, int, unsigned int, unsigned int)[详细]

    2023-02-27 02:38 分类:问答
  • Set a BitSet as a primitive type?

    In Java, can you create a BitSet of size 8 and store it as a 开发者_如何学Pythonbyte in order to output it?The documentation on BitSets doesn\'t mention it.Does that mean no?You can\'t cast BitSet to[详细]

    2023-02-26 06:03 分类:问答
  • Fastest way to clear every kth bit in boost::dynamic_bitset

    What is the fastest way to clear every kth bit in a boost::dynamic_bitset, optionally from offset j? Currently I\'m doing this which is pretty darn slow (pseudocode):[详细]

    2023-02-25 11:29 分类:问答