Maybe_Owned learned how to emplace-construct an owned pointer and some other methods.
Maybe_Owned learned how to emplace-construct an owned pointer and some other methods.

Also added a make_maybe_owned function to correctly initialize a maybe_owned
when the goal is to store a polymorphic base class. Otherwise the user may
accidentally construct it with the pointer constructor and forget to mark it as
owned.

RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine