Iros
 
Loading...
Searching...
No Matches
di::container::detail::DistanceFunction Struct Reference

#include <di/container/iterator/distance.h>

Public Member Functions

template<concepts::Iterator Iter, concepts::SentinelFor< Iter > Sent>
requires (!concepts::SizedSentinelFor<Sent, Iter>)
constexpr auto operator() (Iter iter, Sent sent) const -> meta::IteratorSSizeType< Iter >
 
template<concepts::Iterator Iter, concepts::SizedSentinelFor< Iter > Sent>
constexpr auto operator() (Iter const &iter, Sent const &sent) const
 
template<concepts::Container Con>
constexpr auto operator() (Con &&container) const -> meta::ContainerSSizeType< Con >
 

Member Function Documentation

◆ operator()() [1/3]

template<concepts::Container Con>
auto di::container::detail::DistanceFunction::operator() ( Con && container) const -> meta::ContainerSSizeType<Con>
inlineconstexpr

◆ operator()() [2/3]

template<concepts::Iterator Iter, concepts::SizedSentinelFor< Iter > Sent>
auto di::container::detail::DistanceFunction::operator() ( Iter const & iter,
Sent const & sent ) const
inlineconstexpr

◆ operator()() [3/3]

template<concepts::Iterator Iter, concepts::SentinelFor< Iter > Sent>
requires (!concepts::SizedSentinelFor<Sent, Iter>)
auto di::container::detail::DistanceFunction::operator() ( Iter iter,
Sent sent ) const -> meta::IteratorSSizeType<Iter>
inlineconstexpr

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