TermOx
Public Member Functions | List of all members
ox::Filter_view< Container, Filter_fn > Class Template Reference

Read only Container view with Filter_iterator interface. More...

#include <filter_view.hpp>

Public Member Functions

 Filter_view (Container &c, Filter_fn &&filter_fn)
 
auto begin () const
 
auto begin ()
 
auto end () const
 
auto end ()
 

Detailed Description

template<typename Container, typename Filter_fn>
class ox::Filter_view< Container, Filter_fn >

Read only Container view with Filter_iterator interface.

The container is held by reference, non-owning. Mostly convinience for range for loops. Filter_iterator does the heavy lifting.


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