Boost logo

Boost :

Subject: Re: [boost] [dynamic_bitset] intersects
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-03-07 10:13:56


AMDG

vicente.botet wrote:
> I want to know if two dynamic_bitsets have an element in common. Is there an efficient way to get this?
>
> dynamic_bitset<> bs1, bs2;
>
> intersetcs(bs1, bs2)?
>

It's a member function.
bs1.intersects(bs2);

In Christ,
Steven Watanabe


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