bm::bvector< Alloc >::insert_iterator Class Reference
[The Main bvector<> Group]
Output iterator iterator designed to set "ON" bits based on input sequence of integers (bit indeces).
More...
#include <bm.h>
Detailed Description
template<class Alloc>
class bm::bvector< Alloc >::insert_iterator
Output iterator iterator designed to set "ON" bits based on input sequence of integers (bit indeces).
STL container can be converted to bvector using this iterator Insert iterator guarantees the vector will be dynamically resized (set_bit does not do that).
- Note:
- If you have many bits to set it is a good idea to use output iterator instead of explicitly calling set, because iterator may implement some performance specific tricks to make sure bulk insert is fast.
Definition at line 335 of file bm.h.
Member Typedef Documentation
Definition at line 342 of file bm.h.
Definition at line 339 of file bm.h.
Definition at line 343 of file bm.h.
Definition at line 344 of file bm.h.
Definition at line 341 of file bm.h.
Constructor & Destructor Documentation
template<class Alloc>
bm::bvector< Alloc >::insert_iterator::insert_iterator |
( |
bvector< Alloc > & |
bvect |
) |
[inline] |
Definition at line 346 of file bm.h.
Member Function Documentation
Returns *this without doing anything (no-op)
Definition at line 370 of file bm.h.
Returns *this. This iterator does not move (no-op)
Definition at line 374 of file bm.h.
Returns *this. This iterator does not move (no-op)
Definition at line 372 of file bm.h.
Field Documentation
The documentation for this class was generated from the following file: