|
simple thread
|
implementation of an input iterator for st::channel
More...
#include <channel.hpp>
Public Member Functions | |
| iterator (std::shared_ptr< detail::channel::context > rhs) | |
| iterator & | operator= (const iterator &rhs) |
| st::message & | operator* () |
| st::message * | operator-> () |
| iterator & | operator++ () |
| iterator | operator++ (int) |
implementation of an input iterator for st::channel
This implementation allows trivial usage of channels in for loops: for(auto& msg : ch) { // handle message }