MCPcopy Create free account
hub / github.com/comaps/comaps / IsEmpty

Method IsEmpty

libs/coding/compressed_bit_vector.cpp:479–482  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

477
478// static
479bool CompressedBitVector::IsEmpty(unique_ptr<CompressedBitVector> const & cbv)
480{
481 return !cbv || cbv->PopCount() == 0;
482}
483
484// static
485bool CompressedBitVector::IsEmpty(CompressedBitVector const * cbv)

Callers

nothing calls this directly

Calls 1

PopCountMethod · 0.45

Tested by

no test coverage detected