Description
Currently the WidgetContainer class use raw pointers and users has to de-allocate memory manually.
Expected behavior
We should replace the usage of raw pointers by unique_ptr and be able to transfer the ownership of an allocated Widget to an another WidgetContainer.
The EMemoryMode should be also removed since there is no use case of concrete shared ownership of Widgets
Description Currently the
WidgetContainer
class use raw pointers and users has to de-allocate memory manually.Expected behavior We should replace the usage of raw pointers by unique_ptr and be able to transfer the ownership of an allocated Widget to an another WidgetContainer. The
EMemoryMode
should be also removed since there is no use case of concrete shared ownership of Widgets