Skip to content

Conversation

hsutter
Copy link
Owner

@hsutter hsutter commented Aug 27, 2024

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
@hsutter hsutter merged commit 2e23597 into main Aug 27, 2024
46 of 56 checks passed
@hsutter hsutter deleted the fix-default-args branch November 2, 2024 02:48
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