rangeless::fn
rangeless::fn::impl::take_while< Pred > Struct Template Reference

#include <fn.hpp>

Classes

struct  gen
 

Public Member Functions

template<typename InGen >
auto operator() (seq< InGen > in) const -> seq< gen< InGen >>
 
template<typename Cont >
Cont operator() (Cont cont) const
 

Public Attributes

Pred pred
 

Detailed Description

template<typename Pred>
struct rangeless::fn::impl::take_while< Pred >

Definition at line 1801 of file fn.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename Pred >
template<typename InGen >
auto rangeless::fn::impl::take_while< Pred >::operator() ( seq< InGen >  in) const -> seq<gen<InGen>>
inline

Definition at line 1829 of file fn.hpp.

◆ operator()() [2/2]

template<typename Pred >
template<typename Cont >
Cont rangeless::fn::impl::take_while< Pred >::operator() ( Cont  cont) const
inline

Definition at line 1832 of file fn.hpp.

Member Data Documentation

◆ pred

template<typename Pred >
Pred rangeless::fn::impl::take_while< Pred >::pred

Definition at line 1803 of file fn.hpp.


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