FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix default argument lowering by hsutter · Pull Request #1262 · hsutter/cppfront · GitHub

Fix default argument lowering - #1262

Merged
hsutter merged 2 commits into
mainfrom
fix-default-args
Aug 27, 2024
Merged

hsutter merged 2 commits into
mainfrom
fix-default-args

Conversation

hsutter commented Aug 27, 2024

Copy link
Copy Markdown
Owner

There should now be enough test cases to exercise all the places you can put default arguments

Also, only emit Cpp1 lambdas as 'mutable' if there are captures (when it matters) so that pure function expressions are not 'mutable'

Closes #1235

There should now be enough test cases to exercise all the places you can put default arguments

Also, only emit Cpp1 lambdas as 'mutable' if there are captures (when it matters) so that pure function expressions are not 'mutable'

Closes #1235
Signed-off-by: Herb Sutter <herb.sutter@gmail.com>
hsutter merged commit 2e23597 into main Aug 27, 2024
hsutter deleted the fix-default-args branch November 2, 2024 02:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

[QUESTION] how to express this code in CppFront (is it possible)?

1 participant


Back | FazBrowse Home | New Git URL