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

Refactor astshim so objects hold a unique_ptr to the underlying AST object and are non-copyable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Story Points:
      6
    • Epic Link:
    • Sprint:
      Alert Production S17 - 1
    • Team:
      Alert Production

      Description

      The design of astshim is that the objects are thin wrappers around a pointer to an AST object. The initial design had astshim holding these objects by shared_ptr and being freely copyable, but this led to a design that was not const safe, had a constant need to cast objects and was not very idiomatic C++.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                rowen Russell Owen
                Reporter:
                rowen Russell Owen
                Watchers:
                Jim Bosch, Russell Owen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel