Classes | Public Member Functions | List of all members
util::details::RangeForWrapperIterator< BeginIter, EndIter >::Difference Struct Reference

Visitor to compare iterators (returns whether they differ). More...

Inheritance diagram for util::details::RangeForWrapperIterator< BeginIter, EndIter >::Difference:

Classes

struct  DifferenceImpl
 
struct  DifferenceImpl< A, B, std::enable_if_t< std::is_convertible< decltype(std::declval< A >()-std::declval< B >()), RangeForWrapperIterator< BeginIter, EndIter >::difference_type >::value > >
 

Public Member Functions

template<typename A , typename B >
difference_type operator() (A const &minuend, B const &subtrahend) const
 

Detailed Description

template<typename BeginIter, typename EndIter>
struct util::details::RangeForWrapperIterator< BeginIter, EndIter >::Difference

Visitor to compare iterators (returns whether they differ).

Definition at line 213 of file RangeForWrapper.h.

Member Function Documentation

template<typename BeginIter , typename EndIter >
template<typename A , typename B >
difference_type util::details::RangeForWrapperIterator< BeginIter, EndIter >::Difference::operator() ( A const &  minuend,
B const &  subtrahend 
) const
inline

Definition at line 216 of file RangeForWrapper.h.

217  { return DifferenceImpl<A, B>::subtract(minuend, subtrahend); }
static difference_type subtract(A const &, B const &)

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