![]() |
Public Types | |
| typedef size_t | size_type |
| typedef ptrdiff_t | difference_type |
| typedef std::bidirectional_iterator_tag | iterator_category |
| typedef T_emitter | emitter_type |
| typedef T_result | result_type |
| typedef T_emitter::slot_type | slot_type |
| typedef signal_impl::const_iterator_type | iterator_type |
Public Member Functions | |
| slot_iterator_buf (const iterator_type& i, const emitter_type& c) | |
| result_type | operator* () const |
| slot_iterator_buf& | operator++ () |
| slot_iterator_buf | operator++ (int) |
| slot_iterator_buf& | operator-- () |
| slot_iterator_buf& | operator-- (int) |
| bool | operator== (const slot_iterator_buf&other) const |
| bool | operator!= (const slot_iterator_buf&other) const |
This iterators is for use in accumulators. operator*() executes the slot. The return value is buffered, so that in an expression like
a = (* i)* (* i);
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
||||||||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|