kblib 0.2.3
General utilities library for modern C++
kblib::adjacent_iterator< ForwardIt, EndIt > Class Template Reference

TODO(killerbee13): Implement adjacent_iterator. More...

#include <kblib/iterators.h>

Public Types

using difference_type = std::ptrdiff_t
 
using base_reference = typename std::iterator_traits< ForwardIt >::reference
 
using value_type = std::pair< base_reference, base_reference >
 
using pointer = void
 
using reference = value_type
 
using iterator_category = std::input_iterator_tag
 

Detailed Description

template<typename ForwardIt, typename EndIt>
class kblib::adjacent_iterator< ForwardIt, EndIt >

TODO(killerbee13): Implement adjacent_iterator.

Definition at line 1480 of file iterators.h.

Member Typedef Documentation

◆ base_reference

template<typename ForwardIt , typename EndIt >
using kblib::adjacent_iterator< ForwardIt, EndIt >::base_reference = typename std::iterator_traits<ForwardIt>::reference

Definition at line 1483 of file iterators.h.

◆ difference_type

template<typename ForwardIt , typename EndIt >
using kblib::adjacent_iterator< ForwardIt, EndIt >::difference_type = std::ptrdiff_t

Definition at line 1482 of file iterators.h.

◆ iterator_category

template<typename ForwardIt , typename EndIt >
using kblib::adjacent_iterator< ForwardIt, EndIt >::iterator_category = std::input_iterator_tag

Definition at line 1487 of file iterators.h.

◆ pointer

template<typename ForwardIt , typename EndIt >
using kblib::adjacent_iterator< ForwardIt, EndIt >::pointer = void

Definition at line 1485 of file iterators.h.

◆ reference

template<typename ForwardIt , typename EndIt >
using kblib::adjacent_iterator< ForwardIt, EndIt >::reference = value_type

Definition at line 1486 of file iterators.h.

◆ value_type

template<typename ForwardIt , typename EndIt >
using kblib::adjacent_iterator< ForwardIt, EndIt >::value_type = std::pair<base_reference, base_reference>

Definition at line 1484 of file iterators.h.


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