Nano
A C++ template metaprogramming library
nano::zip< Evaluator, List1, List2, Passed > Struct Template Reference

Takes two lists, and zips the corresponding elements into a list of 2 elements if the function to determine if the elements should be zips succeeds, otherwise the elements are not zipped. More...

#include <higher_order_functions.hpp>

Detailed Description

template<template< typename...> class Evaluator, typename List1, typename List2, typename... Passed>
struct nano::zip< Evaluator, List1, List2, Passed >

Takes two lists, and zips the corresponding elements into a list of 2 elements if the function to determine if the elements should be zips succeeds, otherwise the elements are not zipped.

Template Parameters
EvaluatorA function which operates on corresponding elements from the 2 lists to determine if the elements should be zipped.
List1First list for zipping.
List2Second list for zipping.
PassedThe elements which have 'passed' the functions test and have been added to the zipped list.

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