A template function that given a join_node or or_node returns a reference to a specific input port.
template<size_t N, typename NT> typename flow::tuple_element<N, typename NT::input_ports_tuple_type>::type& input_port(NT &n);
#include "tbb/flow_graph.h"