typedef DenseMap<ValueT, char, ValueInfoT> MapTy;
MapTy TheMap;
public:
- DenseSet(const DenseSet &Other) : TheMap(Other.TheMap) {}
+ typedef ValueT key_type;
+ typedef ValueT value_type;
+
explicit DenseSet(unsigned NumInitBuckets = 0) : TheMap(NumInitBuckets) {}
bool empty() const { return TheMap.empty(); }
TheMap.swap(RHS.TheMap);
}
- DenseSet &operator=(const DenseSet &RHS) {
- TheMap = RHS.TheMap;
- return *this;
- }
-
// Iterators.
class Iterator {