Is there a good reason for not having function
virtual bool update(T& data)=0;
in FilterBase?
It seems to me it might help getting the filter chain even more efficient.
Regarding backwards compatibility, it'd probably need to have a default implementation that calls the copying update(data_in, data_out), but filters that are capable of working in-place would get the chance to do so.
Is there a good reason for not having function
in FilterBase?
It seems to me it might help getting the filter chain even more efficient.
Regarding backwards compatibility, it'd probably need to have a default implementation that calls the copying
update(data_in, data_out), but filters that are capable of working in-place would get the chance to do so.