simple thread
Public Member Functions | List of all members
st::channel::iterator Class Reference

implementation of an input iterator for st::channel More...

#include <channel.hpp>

Inheritance diagram for st::channel::iterator:
st::shared_context< iterator, detail::channel::context >

Public Member Functions

 iterator (std::shared_ptr< detail::channel::context > rhs)
 
iteratoroperator= (const iterator &rhs)
 
st::messageoperator* ()
 
st::messageoperator-> ()
 
iteratoroperator++ ()
 
iterator operator++ (int)
 

Detailed Description

implementation of an input iterator for st::channel

This implementation allows trivial usage of channels in for loops: for(auto& msg : ch) { // handle message }


The documentation for this class was generated from the following file: