it's an alias of `interval_set<T,Map>` under some circumstances
Signed-off-by: Kefu Chai <kchai@redhat.com>
return prev;
}
- friend class interval_set<T,Map>::const_iterator;
+ friend class interval_set::const_iterator;
protected:
typename Map::iterator _iter;
- friend class interval_set<T,Map>;
+ friend class interval_set;
};
class const_iterator : public std::iterator <std::forward_iterator_tag, T>
}
}
- void swap(interval_set<T,Map>& other) {
+ void swap(interval_set& other) {
m.swap(other.m);
std::swap(_size, other._size);
}