oneDPL
oneDPL copied to clipboard
Add methods to satisfy Rule of 3/5 best practice.
https://en.cppreference.com/w/cpp/language/rule_of_three defines the best practice of providing no user-defined ctors/assignment/dtor or providing all of them. A review of oneDPL code found that in most places where methods are missing they are in fact not needed, but there are some instances where adding the missing methods allows for more consistent behavior from the structs and classes.