|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63221 - trunk/libs/dynamic_bitset
From: steven_at_[hidden]
Date: 2010-06-22 00:38:45
Author: steven_watanabe
Date: 2010-06-22 00:38:42 EDT (Tue, 22 Jun 2010)
New Revision: 63221
URL: http://svn.boost.org/trac/boost/changeset/63221
Log:
Document intersects. Fixes #2837.
Text files modified:
trunk/libs/dynamic_bitset/dynamic_bitset.html | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
Modified: trunk/libs/dynamic_bitset/dynamic_bitset.html
==============================================================================
--- trunk/libs/dynamic_bitset/dynamic_bitset.html (original)
+++ trunk/libs/dynamic_bitset/dynamic_bitset.html 2010-06-22 00:38:42 EDT (Tue, 22 Jun 2010)
@@ -212,6 +212,7 @@
bool is_subset_of(const dynamic_bitset& a) const;
bool is_proper_subset_of(const dynamic_bitset& a) const;
+ bool intersects(const dynamic_bitset& a) const;
size_type find_first() const;
size_type find_next(size_type pos) const;
@@ -1176,6 +1177,19 @@
<hr />
<pre>
+bool <a id=
+"intersects">intersects</a>(const dynamic_bitset& a) const
+</pre>
+
+<b>Requires:</b> <tt>this->size() == a.size()</tt><br />
+<b>Returns:</b> true if this bitset and <tt>a</tt> intersect.
+That is, it returns true if, there is a bit which is set in this
+bitset, such that the corresponding bit in bitset <tt>a</tt> is
+also set. Otherwise this function returns false.<br />
+<b>Throws:</b> nothing.
+
+<hr />
+<pre>
size_type <a id = "find_first">find_first</a>() const;
</pre>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk