Skip to content

[2026-06 CWG Motion 12] P3847R1 Lexical order for lambdas#9136

Open
notdanhan wants to merge 1 commit into
cplusplus:mainfrom
notdanhan:motions-2026-06-cwg-12
Open

[2026-06 CWG Motion 12] P3847R1 Lexical order for lambdas#9136
notdanhan wants to merge 1 commit into
cplusplus:mainfrom
notdanhan:motions-2026-06-cwg-12

Conversation

@notdanhan

Copy link
Copy Markdown

Fixes #9079
Also Fixes: cplusplus/papers#2534

@eisenwave eisenwave left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Paper application looks correct, but could use some whitespace reflow for semantic line breaks.

Comment thread source/expressions.tex
direct-initialized in increasing subscript order.) These initializations are performed
when the \grammarterm{lambda-expression} is evaluated and
in the (unspecified) order in which the non-static data members are declared.
of the resulting closure object. The non-static data members corresponding to the

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
of the resulting closure object. The non-static data members corresponding to the
of the resulting closure object.
The non-static data members corresponding to the

Comment thread source/expressions.tex
own = std::move(v)] {};
}
\end{codeblock}
Since \tcode{size} is initialized before \tcode{own}, it contains the original size of \tcode{v}.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Since \tcode{size} is initialized before \tcode{own}, it contains the original size of \tcode{v}.
Since \tcode{size} is initialized before \tcode{own},
it contains the original size of \tcode{v}.

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.

[2026-06 CWG Motion 12] P3847R1 Lexical order for lambdas P3847 R0 Lexical order for lambdas

2 participants