Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-15841

Try to fix shared_ptr/unique_ptr interoperability in upstream pybind11

    XMLWordPrintable

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Story Points:
      8

      Description

      pybind11 does not support converting unique_ptr to shared_ptr; see https://github.com/pybind/pybind11/issues/1138.  That means you currently have to pick one smart pointer for each class and always use it, or use lambdas to wrap unique_ptr returns for classes with a shared_ptr holder type.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              jbosch Jim Bosch
              Reporter:
              jbosch Jim Bosch
              Watchers:
              Jim Bosch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Jenkins

                  No builds found.