-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
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)
- is related to
-
SERVER-58110 IDL: getters sometimes have const value return types
-
- Closed
-
- related to
-
SERVER-65278 fix clang-tidy v4 issues and add v4 clang-tidy builder
-
- Closed
-