Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9783 RDataFrame-related tickets
  3. ROOT-10321

RResultPtr<Derived> should be convertible to RResultPtr<Base>

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • High
    • 6.24/00, 6.26/00
    • None
    • RDataFrame
    • None

    Description

      For example, this feature would be useful when dealing with TH1D, TH2D and TH3D – users might want to just keep a std::vector<RResultPtr<TH1>>.

      std::shared_ptr<Derived> can be cast to std::shared_ptr<Base> via static_pointer_cast. We can either mimic this behavior or make RResultPtr<Derived> explicitly cast to RResultPtr<Base>.

      Attachments

        Activity

          People

            eguiraud Enrico Guiraud
            eguiraud Enrico Guiraud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: