Bitcoin ABC 0.30.5
P2P Digital Currency
|
Iterator to a bitdeque element, const or not. More...
Public Types | |
using | iterator_category = std::random_access_iterator_tag |
using | value_type = bool |
using | pointer = void |
using | const_pointer = void |
using | reference = std::conditional_t< Const, bool, typename word_type::reference > |
using | const_reference = bool |
using | difference_type = std::ptrdiff_t |
Public Member Functions | |
Iterator ()=default | |
Default constructor. More... | |
Iterator (const Iterator &)=default | |
Default copy constructor. More... | |
template<bool ConstArg = Const, typename = std::enable_if_t<Const && ConstArg>> | |
Iterator (const Iterator< false > &x) | |
Conversion from non-const to const iterator. More... | |
Iterator & | operator+= (difference_type dist) |
Iterator & | operator= (const Iterator &)=default |
Iterator & | operator-= (difference_type dist) |
Iterator & | operator++ () |
Iterator | operator++ (int) |
Iterator & | operator-- () |
Iterator | operator-- (int) |
reference | operator* () const |
reference | operator[] (difference_type pos) const |
Private Types | |
using | deque_iterator = std::conditional_t< Const, typename deque_type::const_iterator, typename deque_type::iterator > |
Private Member Functions | |
Iterator (const deque_iterator &it, int bitpos) | |
Private Attributes | |
deque_iterator | m_it |
int | m_bitpos {0} |
Friends | |
class | bitdeque |
difference_type | operator- (const Iterator &x, const Iterator &y) |
Iterator | operator+ (Iterator x, difference_type dist) |
Iterator | operator+ (difference_type dist, Iterator x) |
Iterator | operator- (Iterator x, difference_type dist) |
bool | operator< (const Iterator &x, const Iterator &y) |
bool | operator> (const Iterator &x, const Iterator &y) |
bool | operator<= (const Iterator &x, const Iterator &y) |
bool | operator>= (const Iterator &x, const Iterator &y) |
bool | operator== (const Iterator &x, const Iterator &y) |
bool | operator!= (const Iterator &x, const Iterator &y) |
Iterator to a bitdeque element, const or not.
Definition at line 34 of file bitdeque.h.
using bitdeque< BlobSize >::Iterator< Const >::const_pointer = void |
Definition at line 49 of file bitdeque.h.
using bitdeque< BlobSize >::Iterator< Const >::const_reference = bool |
Definition at line 52 of file bitdeque.h.
|
private |
Definition at line 35 of file bitdeque.h.
using bitdeque< BlobSize >::Iterator< Const >::difference_type = std::ptrdiff_t |
Definition at line 53 of file bitdeque.h.
using bitdeque< BlobSize >::Iterator< Const >::iterator_category = std::random_access_iterator_tag |
Definition at line 46 of file bitdeque.h.
using bitdeque< BlobSize >::Iterator< Const >::pointer = void |
Definition at line 48 of file bitdeque.h.
using bitdeque< BlobSize >::Iterator< Const >::reference = std::conditional_t<Const, bool, typename word_type::reference> |
Definition at line 50 of file bitdeque.h.
using bitdeque< BlobSize >::Iterator< Const >::value_type = bool |
Definition at line 47 of file bitdeque.h.
|
inlineprivate |
Definition at line 41 of file bitdeque.h.
|
default |
Default constructor.
|
default |
Default copy constructor.
|
inline |
Conversion from non-const to const iterator.
Definition at line 64 of file bitdeque.h.
|
inline |
Definition at line 153 of file bitdeque.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
inline |
Definition at line 154 of file bitdeque.h.
Definition at line 43 of file bitdeque.h.
|
friend |
Definition at line 150 of file bitdeque.h.
|
friend |
Definition at line 127 of file bitdeque.h.
|
friend |
Definition at line 123 of file bitdeque.h.
|
friend |
Definition at line 91 of file bitdeque.h.
|
friend |
Definition at line 131 of file bitdeque.h.
|
friend |
Definition at line 135 of file bitdeque.h.
|
friend |
Definition at line 141 of file bitdeque.h.
|
friend |
Definition at line 147 of file bitdeque.h.
|
friend |
Definition at line 138 of file bitdeque.h.
|
friend |
Definition at line 144 of file bitdeque.h.
|
private |
Definition at line 40 of file bitdeque.h.
|
private |
Definition at line 39 of file bitdeque.h.