LLVM: llvm::Bitset< NumBits > Class Template Reference (original) (raw)
This is a constexpr reimplementation of a subset of std::bitset. More...
#include "[llvm/ADT/Bitset.h](Bitset%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| constexpr | Bitset ()=default |
| constexpr | Bitset (std::initializer_list< unsigned > Init) |
| Bitset & | set () |
| constexpr Bitset & | set (unsigned I) |
| constexpr Bitset & | reset (unsigned I) |
| constexpr Bitset & | flip (unsigned I) |
| constexpr bool | operator[] (unsigned I) const |
| constexpr bool | test (unsigned I) const |
| constexpr size_t | size () const |
| bool | any () const |
| bool | none () const |
| size_t | count () const |
| constexpr Bitset & | operator^= (const Bitset &RHS) |
| constexpr Bitset | operator^ (const Bitset &RHS) const |
| constexpr Bitset & | operator&= (const Bitset &RHS) |
| constexpr Bitset | operator& (const Bitset &RHS) const |
| constexpr Bitset & | operator|= (const Bitset &RHS) |
| constexpr Bitset | operator| (const Bitset &RHS) const |
| constexpr Bitset | operator~ () const |
| bool | operator== (const Bitset &RHS) const |
| bool | operator!= (const Bitset &RHS) const |
| bool | operator< (const Bitset &Other) const |
| Protected Member Functions | |
|---|---|
| constexpr | Bitset (const std::array< uint64_t,(NumBits+63)/64 > &B) |
template<unsigned NumBits>
class llvm::Bitset< NumBits >
This is a constexpr reimplementation of a subset of std::bitset.
It would be nice to use std::bitset directly, but it doesn't support constant initialization.
Definition at line 30 of file Bitset.h.
◆ Bitset() [1/3]
◆ Bitset() [2/3]
◆ Bitset() [3/3]
◆ any()
◆ count()
◆ flip()
◆ none()
◆ operator!=()
◆ operator&()
◆ operator&=()
◆ operator<()
◆ operator==()
◆ operator[]()
◆ operator^()
◆ operator^=()
◆ operator|()
◆ operator|=()
◆ operator~()
◆ reset()
◆ set() [1/2]
◆ set() [2/2]
◆ size()
| size_t llvm::Bitset< NumBits >::size ( ) const | inlineconstexpr |
|---|
◆ test()
The documentation for this class was generated from the following file:
- include/llvm/ADT/Bitset.h