
25 Apr
2004
25 Apr
'04
6:26 p.m.
On 4/15/04 3:21 PM, "Jeremy Siek" <jsiek@osl.iu.edu> wrote:
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.
If you don't already have it, you could add a member function that returns a list of the set-bit indices. -- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com