Boost logo

Boost :

Subject: Re: [boost] [dynamic_bitset] intersects
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2009-03-07 11:54:23


----- Original Message -----
From: "Steven Watanabe" <watanabesj_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Saturday, March 07, 2009 4:13 PM
Subject: Re: [boost] [dynamic_bitset] intersects

>
> 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);

Thanks for the info. I was unable to find it on the reference. I see this on the section Changes from Boost 1.31.0
"Several member functions (empty(), find_first() , find_next(), get_allocator(), intersects() , max_size() ) have been added. ".

I've added a ticket to tract it https://svn.boost.org/trac/boost/ticket/2837

Vicente


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