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.


Jeremy Siek <jsiek_at_[hidden]>
Ph.D. Student, Indiana University Bloomington
Graduating in August 2004 and looking for work
C++ Booster (

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