-
Notifications
You must be signed in to change notification settings - Fork 804
P3815R1 Add scope_association concept to P3149 #8531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
source/exec.tex
Outdated
| @\exposid{sndr}@.reset(); | ||
| @\exposid{assoc}@([&] { | ||
| @\exposid{sender-ref}@ guard{addressof(@\exposid{sndr}@)}; | ||
| auto assoc = t.try_associate(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we choose a different name for this local variable 'assoc' which doesn't shadow the data member assoc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ass?
| // \ref{exec.simple.counting.token}, token | ||
| struct token; | ||
|
|
||
| using @\exposid{assoc-t}@ = @\exposid{association-t}@<simple_counting_scope>; // \expos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| using @\exposid{assoc-t}@ = @\exposid{association-t}@<simple_counting_scope>; // \expos | |
| // \ref{exec.simple.counting.assoc}, assoc | |
| using @\exposid{assoc-t}@ = @\exposid{association-t}@<simple_counting_scope>; // \expos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That label doesn't exist.
9b0f2d1 to
0f5e480
Compare
Fixes NB FI 392, CA 393 (C++26 CD). Editorial note: * [exec.associate] Fix missing template argument * Use braces in if statements
0f5e480 to
2acc6ba
Compare
Fixes NB FI-392, CA-393 (C++26 CD).
Fixes #8475
Fixes cplusplus/papers#2426
Fixes cplusplus/nbballot#967
Fixes cplusplus/nbballot#968