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

IDL: remove ref-qualification on getters

    • Fully Compatible
    • Service Arch 2022-05-02, Service Arch 2022-05-16
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      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 redbeard0531 for the link)

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: