This removes IndexParameterIndex (awful name!) and MultiValueParameterIndex in favour of a generic ParameterIndex<T>. Where T is the return type of the associated Parameter<T>. This ensures there is stronger type constraints to prevent using the wrong index in the wrong vec of parameters.
This removes
IndexParameterIndex
(awful name!) andMultiValueParameterIndex
in favour of a genericParameterIndex<T>.
WhereT
is the return type of the associatedParameter<T>
. This ensures there is stronger type constraints to prevent using the wrong index in the wrong vec of parameters.