Use reference polymorphism for Parameters to avoid initializing them in Preprocess constructors #229
Labels
state: inactive
Issue is abandoned, but might become relavent at some point
type: feature
Brand new functionality, features, workflows, endpoints, etc
Also regarding making the PreprocessParams params_ data member that every preprocess has a reference, there are many reasons not to do it, but the most important one is this:
A reference data member has to refer to an object that exists outside the object instance. So it doesn't contain its own object, rather a reference at an existing object.
So if I hda this class
Plus there's this thing about reference parameters only being initializable in initiailizer list + not being able to use r-values in the parameters of the class.
The text was updated successfully, but these errors were encountered: