12 template<concepts::InputIterator It, concepts::SentinelFor<It> Sent, concepts::WeaklyIncrementable Out,
13 concepts::CopyConstructible F,
typename Proj = function::Identity>
16 for (; first != last; ++first, ++output) {
19 return { util::move(first), util::move(output) };
22 template<concepts::InputContainer Con, concepts::WeaklyIncrementable Out, concepts::CopyConstructible F,
23 typename Proj = function::Identity>
24 requires(concepts::IndirectlyWritable<
26 constexpr auto operator()(Con&&
container, Out output, F op, Proj
proj = {})
const
32 template<concepts::InputIterator It1, concepts::SentinelFor<It1> Sent1, concepts::InputIterator It2,
33 concepts::SentinelFor<It2> Sent2, concepts::WeaklyIncrementable Out, concepts::CopyConstructible F,
34 typename Proj1 = function::Identity,
typename Proj2 = function::Identity>
37 constexpr auto operator()(It1 first1, Sent1 last1, It2 first2, Sent2 last2, Out output, F op, Proj1 proj1 = {},
39 for (; first1 != last1 && first2 != last2; ++first1, ++first2, ++output) {
42 return { util::move(first1), util::move(first2), util::move(output) };
45 template<concepts::InputContainer Con1, concepts::InputContainer Con2, concepts::WeaklyIncrementable Out,
46 concepts::CopyConstructible
F,
typename Proj1 = function::Identity,
47 typename Proj2 = function::Identity>
48 requires(concepts::IndirectlyWritable<
50 meta::Projected<meta::ContainerIterator<Con2>, Proj2>>>)
51 constexpr auto transform(Con1&& r1, Con2&& r2, Out output, F op, Proj1 proj1 = {}, Proj2 proj2 = {})