scnlib  0.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scn::detail::ranges::_distance::fn Struct Reference

#include <ranges.h>

Public Member Functions

template<typename I , typename S >
SCN_CONSTEXPR14 auto operator() (I first, S last) const -> typename std::enable_if< sentinel_for< S, I >::value, iter_difference_t< I >>::type
template<typename R >
SCN_CONSTEXPR14 auto operator() (R &&r) const -> typename std::enable_if< range< R >::value, iter_difference_t< iterator_t< R >>>::type

Detailed Description

Definition at line 1468 of file ranges.h.

Member Function Documentation

template<typename I , typename S >
SCN_CONSTEXPR14 auto scn::detail::ranges::_distance::fn::operator() ( first,
) const -> typename std::enable_if<sentinel_for<S, I>::value, iter_difference_t<I>>::type

Definition at line 1513 of file ranges.h.

template<typename R >
SCN_CONSTEXPR14 auto scn::detail::ranges::_distance::fn::operator() ( R &&  r) const -> typename std::enable_if< range<R>::value, iter_difference_t<iterator_t<R>>>::type

Definition at line 1521 of file ranges.h.

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