LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 232 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 235 of file RangeForWrapper.h.

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

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