9 auto lhsIt = lhs.
mBits.begin();
10 auto rhsIt = rhs.
mBits.begin();
12 auto lhsEnd = lhs.
mBits.end();
13 auto rhsEnd = rhs.
mBits.end();
19 res.
mBits.insert( res.
mBits.end(), rhsIt, rhsEnd);
25 res.
mBits.insert( res.
mBits.end(), lhsIt, lhsEnd);
29 res.
mBits.push_back( *lhsIt | *rhsIt);
49 std::vector<unsigned>::const_iterator sub =
mBits.begin();
50 auto sup = superset.
mBits.begin();
52 if( sub ==
mBits.end())
57 while( sup != superset.
mBits.end())
59 if((( *sub) & ~( *sup)) != 0)
66 if( sub ==
mBits.end())
71 while( sub !=
mBits.end())
73 if( *sub != 0)
return false;
carl is the main namespace for the library.
BitVector operator|(const BitVector &lhs, const BitVector &rhs)
bool operator==(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
bool subsetOf(const BitVector &superset)
std::vector< unsigned > mBits
std::vector< unsigned >::const_iterator vecIter