#include <di/container/algorithm/search_n.h>
|
template<concepts::ForwardIterator It, concepts::SentinelFor< It > Sent, typename T, typename Pred = function::Equal, typename Proj = function::Identity, typename SSizeType = meta::IteratorSSizeType<It>>
requires (concepts::IndirectlyComparable<It, T const*, Pred, Proj>) |
constexpr auto | operator() (It first, Sent last, meta::TypeIdentity< SSizeType > n, T const &value, Pred pred={}, Proj proj={}) const -> View< It > |
|
template<concepts::ForwardContainer Con, typename T, typename Pred = function::Equal, typename Proj = function::Identity>
requires (concepts::IndirectlyComparable<meta::ContainerIterator<Con>, T const*, Pred, Proj>) |
constexpr auto | operator() (Con &&container, meta::ContainerSSizeType< Con > n, T const &needle, Pred pred={}, Proj proj={}) const -> meta::BorrowedView< Con > |
|
◆ operator()() [1/2]
template<concepts::ForwardContainer Con, typename T, typename Pred = function::Equal, typename Proj = function::Identity>
requires (concepts::IndirectlyComparable<
meta::ContainerIterator<Con>, T const*, Pred, Proj>)
◆ operator()() [2/2]
template<concepts::ForwardIterator It, concepts::SentinelFor< It > Sent, typename T, typename Pred = function::Equal, typename Proj = function::Identity, typename SSizeType = meta::IteratorSSizeType<It>>
requires (concepts::IndirectlyComparable<It, T const*, Pred, Proj>)
auto di::container::detail::SearchNFunction::operator() |
( |
It | first, |
|
|
Sent | last, |
|
|
meta::TypeIdentity< SSizeType > | n, |
|
|
T const & | value, |
|
|
Pred | pred = {}, |
|
|
Proj | proj = {} ) const -> View<It> |
|
inlineconstexpr |
The documentation for this struct was generated from the following file: