rw::core::Ptr does not have well defined ownership semantics
Hi
The robwork Ptr type does not have well established ownership semantics. By this I mean that having a type containing both an owning and a nonowning pointer is very confusing to use.
Some of your functions depend on the pointer being owned and throw in the non owning case , while others return non owning pointers, leading to inconsistent behaviours of the pointer type. I have also experienced crashes as a non owning pointer was trying to access the contained smart pointer which was a nullptr.
This is a major pain point for me using the library.
Can you please refactor the Ptr type to have defined semantics?