|
template<class Mem , class Alloc , class T > |
CUDA constexpr dynamic_bitset< Mem, Alloc, T > | battery::operator& (const dynamic_bitset< Mem, Alloc, T > &lhs, const dynamic_bitset< Mem, Alloc, T > &rhs) |
|
template<class Mem , class Alloc , class T > |
CUDA constexpr dynamic_bitset< Mem, Alloc, T > | battery::operator| (const dynamic_bitset< Mem, Alloc, T > &lhs, const dynamic_bitset< Mem, Alloc, T > &rhs) |
|
template<class Mem , class Alloc , class T > |
CUDA constexpr dynamic_bitset< Mem, Alloc, T > | battery::operator^ (const dynamic_bitset< Mem, Alloc, T > &lhs, const dynamic_bitset< Mem, Alloc, T > &rhs) |
|
This class is similar to bitset
but the size is specified at runtime in the constructor. For simplicity of implementation, the size is a multiple of sizeof(T); that could be improved in future version if needed.