-
Key: CPP1117-27
-
Status: open
-
Source: Remedy IT Expertise BV ( Johnny Willemsen)
-
Summary:
For the example code, for the setter, the std::optional should be passed as const&, see https://stackoverflow.com/questions/69277649/does-passing-an-stdoptionalt-by-reference-actually-save-copying
-
Reported: CPP11 1.6b1 — Tue, 31 Oct 2023 08:27 GMT
-
Updated: Tue, 7 Nov 2023 16:01 GMT
CPP1117 — std::optional should be passed as const&
- Key: CPP1117-27
- OMG Task Force: IDL to C++11 1.7 RTF