mirror of
https://github.com/boostorg/dynamic_bitset.git
synced 2026-01-19 04:12:09 +00:00
Added tests
This commit is contained in:
@@ -1250,6 +1250,24 @@ bool <a id="none">none</a>() const
|
||||
returns <tt>false</tt>.<br />
|
||||
<b>Throws:</b> nothing.
|
||||
|
||||
<hr />
|
||||
<pre>
|
||||
bool <a id="at">at</a>(size_type n) const
|
||||
</pre>
|
||||
|
||||
<b>Precondition:</b> <tt>n < this->size()</tt>.<br />
|
||||
<b>Returns:</b> The same as <tt>operator[](n)</tt>.<br />
|
||||
<b>Throws:</b> <tt>std::out_of_range</tt> if that <tt>n</tt> is not within the range of the bitset.
|
||||
|
||||
<hr />
|
||||
<pre>
|
||||
reference <a id="at">at</a>(size_type n)
|
||||
</pre>
|
||||
|
||||
<b>Precondition:</b> <tt>n < this->size()</tt>.<br />
|
||||
<b>Returns:</b> The same as <tt>operator[](n)</tt>.<br />
|
||||
<b>Throws:</b> <tt>std::out_of_range</tt> if that <tt>n</tt> is not within the range of the bitset.
|
||||
|
||||
<hr />
|
||||
<pre>
|
||||
bool <a id="test">test</a>(size_type n) const
|
||||
|
||||
Reference in New Issue
Block a user