Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TBitArray
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/BitArray.h |
| Include | #include "Containers/BitArray.h" |
template<typename OtherAllocator>
bool CompareSetBits
&40;
const TBitArray< OtherAllocator > & Other,
const bool bMissingBitValue
&41; const
Remarks
Returns true if Other contains all the same set bits as this, accounting for differences in length. Similar to operator== but can handle different length arrays by zero or one-filling missing bits. true if this array matches Other, including any missing bits, false otherwise
Parameters
| Name | Description |
|---|---|
| Other | The array to compare against |
| bMissingBitValue | The value to use for missing bits when considering bits that are outside the range of either array |