30 template<
typename InputIterator1,
typename InputIterator2,
typename OutputIterator>
31 void logical_and(InputIterator1 first_left, InputIterator1 last_left, InputIterator2 first_right, OutputIterator first_out)
33 std::transform(first_left, last_left, first_right, first_out, std::logical_and<bool>());
36 template<
typename Container1,
typename Container2,
typename Container3>
37 void logical_and(
const Container1& left,
const Container2& right, Container3& out)
40 aaa::logical_and(begin(left), end(left), begin(right), begin(out));
43 template<
typename Container>
44 Container logical_and(
const Container& left,
const Container& right)
47 aaa::logical_and(left, right, out);