Revisit the constructors and assignment operators of polymorhpic ndt classes.
Description
NDTLocalizerBase
and few other classes in the localization namespace have their destructors defined but have no explicit definitions of copy/move opertaions. According to the table below, this will result in:
- copy methods defined
- Move methods non-defined
When an ndt localizer is moved, then this will result in an implicit copy, causing multiple issues.
[source]
How to Reproduce
Current Behavior
rule of 0/3/5 is ignored.
Expected behavior
Necessary explicit definitions/deletions of constructor/assignment operations are implemented.
Edited by Yunus Emre Çalışkan