You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to transform the unordered_map from getDataObjects. However it is not possible to process it because the object behind of std::unique_ptr is not movable.
Describe the solution you'd like
Make AbstractObject movable or remove the unique_ptr
Describe alternatives you've considered
n.a.
Additional context
n.a.
The text was updated successfully, but these errors were encountered:
The ownership of an AbstractObject is managed by the DataObjectRepository. So, I think I should even make AbstractObject non copyable (and still non movable).
Which kind of transform is not allowed? Could you share some few lines of codes?
Removing unique_ptr would somehow lead to the same result than getDataObjectsGroupedByDataType() (grouping by datatype instead of grouping by UUID), is it not OK with you?
You also have the option to loop on getUuids and then getDataObjectByUuid
getDataObjects returns unique_ptr because it is a direct (const) reference on the class member to get most of performance.
Is your feature request related to a problem? Please describe.
I would like to transform the unordered_map from
getDataObjects
. However it is not possible to process it because the object behind of std::unique_ptr is not movable.Describe the solution you'd like
Make AbstractObject movable or remove the unique_ptr
Describe alternatives you've considered
n.a.
Additional context
n.a.
The text was updated successfully, but these errors were encountered: