Vcsn  2.4
Be Rational
filter.hh File Reference
#include <boost/range/adaptor/filtered.hpp>
#include <boost/range/distance.hpp>
Include dependency graph for filter.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vcsn::detail::safe_filtered< Range, Filter >
 
struct  boost::range_difference< vcsn::detail::safe_filtered< Range, Filter > >
 

Namespaces

 vcsn
 
 vcsn::detail
 
 boost
 

Functions

template<typename Range , typename Filter >
auto vcsn::filter (Range &&r, Filter f, decltype(f(*std::begin(r)), void())*=nullptr)
 Similar to boost::adaptors::filter, but ensures that the range is kept alive. More...