Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2004-04-15 14:21:12


Hi Gennaro,

On Apr 14, 2004, at 4:06 AM, Gennaro Prota wrote:
> I was thinking, however: what about returning the index of the first
> bit in common (or npos), instead of true/false?

That functionality sounds useful, but I think the current intersects()
function should not be removed since it provides for a common use case.
Adding another function with the semantics you describe would be good.

Cheers,
Jeremy

_______________________________________________
Jeremy Siek <jsiek_at_[hidden]>
http://www.osl.iu.edu/~jsiek
Ph.D. Student, Indiana University Bloomington
Graduating in August 2004 and looking for work
C++ Booster (http://www.boost.org)
_______________________________________________


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk