5 #ifndef VCCC_ALGORITHM_RANGES_FIND_FIRST_OF_HPP_
6 #define VCCC_ALGORITHM_RANGES_FIND_FIRST_OF_HPP_
30 struct find_first_of_niebloid {
31 template<
typename I1,
typename S1,
32 typename I2,
typename S2,
33 typename Pred = ranges::equal_to,
34 typename Proj1 = identity,
35 typename Proj2 = identity,
36 std::enable_if_t<conjunction<
37 input_iterator<I1>, sentinel_for<S1, I1>,
38 forward_iterator<I2>, sentinel_for<S2, I2>,
39 indirectly_comparable<I1, I2, Pred, Proj1, Proj2>
41 constexpr I1 operator()(I1 first1, S1 last1, I2 first2, S2 last2, Pred pred = {}, Proj1 proj1 = {}, Proj2 proj2 = {})
const {
42 for (; first1 != last1; ++first1) {
43 for (
auto it = first2; it != last2; ++it) {
53 template<
typename R1,
typename R2,
54 typename Pred = ranges::equal_to,
typename Proj1 = identity,
typename Proj2 = identity,
55 std::enable_if_t<conjunction<
56 input_range<R1>, forward_range<R2>,
57 indirectly_comparable<iterator_t<R1>, iterator_t<R2>, Pred, Proj1, Proj2>
59 constexpr borrowed_iterator_t<R1> operator()(R1&& r1, R2&& r2, Pred pred = {}, Proj1 proj1 = {}, Proj2 proj2 = {})
const {
constexpr VCCC_INLINE_OR_STATIC detail::find_first_of_niebloid find_first_of
Definition: find_first_of.hpp:69
constexpr invoke_result_t< F, Args... > invoke(F &&f, Args &&... args) noexcept(is_nothrow_invocable< F, Args... >::value)
Definition: invoke.hpp:38
constexpr VCCC_INLINE_OR_STATIC detail::begin_niebloid begin
returns an iterator to the beginning of a range
Definition: begin.hpp:116
constexpr VCCC_INLINE_OR_STATIC detail::end_niebloid end
returns a sentinel indicating the end of a range
Definition: end.hpp:120
#define VCCC_INLINE_OR_STATIC
Definition: inline_or_static.hpp:9
Definition: directory.h:12
constexpr VCCC_INLINE_OR_STATIC detail::element_niebloid< 1 > value
Definition: key_value.hpp:35