/*
- * $Id: Range.h,v 1.5 2003/09/22 08:50:51 robertc Exp $
+ * $Id: Range.h,v 1.6 2005/05/08 23:28:06 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
Range (C start_, C end_);
C start;
C end;
- Range intersection (Range const &);
+ Range intersection (Range const &) const;
size_t size() const;
};
template<class C>
Range<C>
-Range<C>::intersection (Range const &rhs)
+Range<C>::intersection (Range const &rhs) const
{
Range<C> result (XMAX(start, rhs.start), XMIN(end, rhs.end));
return result;