Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58111

IDL: remove ref-qualification on getters

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None

      Description

      This is an attempt to guard against calling getters on temporaries, a harmless thing to do that can't be prevented by this technique anyway.

      Getting rid of this stuff will simplify the IDL generator and give us generated classes with behavior that is less surprising.

      https://quuxplusone.github.io/blog/2019/03/11/value-category-is-not-lifetime/
      (Thx Mathias Stearn for the link)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-servicearch Backlog - Service Architecture
              Reporter:
              billy.donahue Billy Donahue
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: