Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Security 2022-05-16
Description
Use of decltype(auto) is unnecessary in generated IDL files since they are generated by machine and have simple type names (i.e. they are not impossible to declare like lambra related types). The use of` decltype(auto) makes the generated code harder to read for human readers as users must jump to the declaration with decltype(auto) and then a second declaration for the actual type.
This change was introduced SERVER-58110