PerceMon
percemon::iter_helpers::details::product_iterator< Iter > Struct Template Reference

#include <product.hpp>

Public Types

using ElementType = typename std::iterator_traits< Iter >::value_type
 
using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = std::vector< ElementType >
 
using pointer = std::vector< ElementType > *
 
using reference = std::vector< ElementType > &
 

Public Member Functions

 product_iterator (Iter first, Iter last, size_t k)
 
bool operator!= (const product_iterator< Iter > &other) const
 
bool operator== (const product_iterator< Iter > &other) const
 
value_type operator* () const
 
product_iteratoroperator++ ()
 

Static Public Member Functions

static product_iterator get_last (Iter first, Iter last, size_t k)
 

Detailed Description

template<typename Iter>
struct percemon::iter_helpers::details::product_iterator< Iter >

Product iterator for a single vector repeated k times.


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