herald  2.0.0
Public Types | Public Member Functions | List of all members
herald::analysis::views::view< IterProxyT, BaseValT, BaseIterT, BaseSizeT > Struct Template Reference

#include <ranges.h>

Public Types

using value_type = BaseValT
 
using iterator = BaseIterT
 
using size_type = BaseSizeT
 
using is_proxy = std::true_type
 

Public Member Functions

 view (IterProxyT srcIter)
 
auto begin () -> IterProxyT
 
auto end () -> BaseIterT
 
Date latest ()
 
template<typename IterT >
bool operator== (const IterT &other)
 
template<typename IterT >
bool operator!= (const IterT &other)
 
auto size () -> BaseSizeT
 
auto operator[] (BaseSizeT position) -> BaseValT
 

Detailed Description

template<typename IterProxyT, typename BaseValT = typename IterProxyT::base_value_type, typename BaseIterT = typename IterProxyT::base_iterator, typename BaseSizeT = typename IterProxyT::base_size_type>
struct herald::analysis::views::view< IterProxyT, BaseValT, BaseIterT, BaseSizeT >

Create a view holder that wraps an iterator, so the result of all returns have a begin() and end() just like an STL collection


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