Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      There are a number of casts to and from void* in ObjectPtrT which could be simplified by introducing a new member function to abstract away the casts so that they are only done in one place. The uses of ObjectPtrBase::exchange can be changed to the new function and so don't need any casts. To avoid any accidental ambiguity, the original ObjectPtrBase::exchange could be renamed (user code outside the library that uses that function directly would have to be changed to call the new typesafe function, or call the renamed original function)

        Activity

          People

          • Assignee:
            Curt Arnold
            Reporter:
            Jonathan Wakely
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development