| 88 | } |
| 89 | |
| 90 | CBV CBV::Intersect(CBV const & rhs) const |
| 91 | { |
| 92 | if (IsFull() || rhs.IsEmpty()) |
| 93 | return rhs; |
| 94 | if (IsEmpty() || rhs.IsFull()) |
| 95 | return *this; |
| 96 | return CBV(coding::CompressedBitVector::Intersect(*m_p, *rhs.m_p)); |
| 97 | } |
| 98 | |
| 99 | CBV CBV::Take(uint64_t n) const |
| 100 | { |
no test coverage detected