Add template function in util/ that casts to std::unique_ptr<Derived> from std::unique_ptr<Base>

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      A template function should exist in util/ that casts objects of type std::unique_ptr<Base> to std::unique_ptr<Derived>.

      We could consider extending checked_cast for this purpose.

            Assignee:
            DO NOT USE - Backlog - Dev Tools
            Reporter:
            J Rassi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: