
7 Mar
2009
7 Mar
'09
4:54 p.m.
----- Original Message ----- From: "Steven Watanabe" <watanabesj@gmail.com> To: <boost@lists.boost.org> 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