Skip to content

Conversation

@Quuxplusone
Copy link
Contributor

Theoretically, this improves codegen by allowing x = f() to move-from the returned temporary instead of requiring a copy. In these cases I don't expect any effect; it's just to keep the codebase clean.

Also change operator"" _deg to operator""_deg; the former spelling was deprecated in 2023 (but, strangely, was deprecated retroactively all the way back to C++11: see CWG2521).

Theoretically, this improves codegen by allowing `x = f()` to move-from
the returned temporary instead of requiring a copy. In these cases I
don't expect any effect; it's just to keep the codebase clean.

Also change `operator"" _deg` to `operator""_deg`; the former spelling
was deprecated in 2023 (but, strangely, was deprecated retroactively
all the way back to C++11: see CWG2521).
@zenorogue zenorogue merged commit e6276cd into zenorogue:master Feb 23, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants