Boost logo

Boost :

From: Eric Woodruff (Eric.Woodruff_at_[hidden])
Date: 2002-09-26 09:38:45

There is a lot of support for iterators, but I needed something numerical,
not iterator-based.

template <typename T>
std::pair<T, T> const range_intersection (std::pair<T, T> const& a,
std::pair<T, T> const& b)

----- Original Message -----
From: David Abrahams
Newsgroups: gmane.comp.lib.boost.devel
Sent: Wednesday, 2002:September:25 17:53
Subject: Re: Re: range_intersection

You might look at the not-really-part-of-boost boost/half_open_range.hpp.


           David Abrahams * Boost Consulting
dave_at_[hidden] *

----- Original Message -----
From: "Douglas Gregor" <gregod_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, September 25, 2002 6:05 PM
Subject: Re: [boost] Re: range_intersection

> On Wednesday 25 September 2002 05:49 pm, Eric Woodruff wrote:
> > Well, I meant an std::pair, I need it for run time.
> >
> > I ended up just writing one, but it seemed like something that might
> > already exist.
> I guess I won't check in this BOOST_PP_INTERSECT code, then.
> The recently-accepted Interval arithmetic library does range
intersection, but
> not for std::pair.
> Doug
> _______________________________________________
> Unsubscribe & other changes:

Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at