input_port Template Function

Summary

A template function that given a join_node, indexer_node or a composite_node returns a reference to a specific input port.

Syntax

template<size_t N, typename NT>
typename flow::tuple_element<N, typename NT::input_ports_type>::type&
input_port(NT &n);