Loading [MathJax]/extensions/tex2jax.js
Iros
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
Loading...
Searching...
No Matches
di::container::detail::MinMaxElementFunction Struct Reference

#include <di/container/algorithm/minmax_element.h>

Public Member Functions

template<concepts::ForwardIterator It, concepts::SentinelFor< It > Sent, typename Proj = function::Identity, concepts::IndirectStrictWeakOrder< meta::Projected< It, Proj > > Comp = function::Compare>
constexpr auto operator() (It first, Sent last, Comp comp={}, Proj proj={}) const -> MinMaxResult< It >
 
template<concepts::ForwardContainer Con, typename Proj = function::Identity, concepts::IndirectStrictWeakOrder< meta::Projected< meta::ContainerIterator< Con >, Proj > > Comp = function::Compare>
constexpr auto operator() (Con &&container, Comp comp={}, Proj proj={}) const -> MinMaxResult< meta::BorrowedIterator< Con > >
 

Member Function Documentation

◆ operator()() [1/2]

template<concepts::ForwardContainer Con, typename Proj = function::Identity, concepts::IndirectStrictWeakOrder< meta::Projected< meta::ContainerIterator< Con >, Proj > > Comp = function::Compare>
auto di::container::detail::MinMaxElementFunction::operator() ( Con && container,
Comp comp = {},
Proj proj = {} ) const -> MinMaxResult<meta::BorrowedIterator<Con>>
inlineconstexpr

◆ operator()() [2/2]

template<concepts::ForwardIterator It, concepts::SentinelFor< It > Sent, typename Proj = function::Identity, concepts::IndirectStrictWeakOrder< meta::Projected< It, Proj > > Comp = function::Compare>
auto di::container::detail::MinMaxElementFunction::operator() ( It first,
Sent last,
Comp comp = {},
Proj proj = {} ) const -> MinMaxResult<It>
inlineconstexpr

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