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

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

Public Member Functions

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

Friends

struct EqualRangeFunction
 

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

Friends And Related Symbol Documentation

◆ EqualRangeFunction

friend struct EqualRangeFunction
friend

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