Skip to content
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

P3171 R0 Adding functionality to placeholder types #1834

Open
wg21bot opened this issue Apr 17, 2024 · 1 comment
Open

P3171 R0 Adding functionality to placeholder types #1834

wg21bot opened this issue Apr 17, 2024 · 1 comment
Assignees
Labels
B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 C++26 Targeted at C++26 IS Ship vehicle: IS LEWG Library Evolution needs-revision Paper needs changes before it can proceed size - medium paper size estimate
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Apr 17, 2024

P3171R0 Adding functionality to placeholder types (Barry Revzin, Peter Dimov)

@wg21bot wg21bot added the LEWG Library Evolution label Apr 17, 2024
@wg21bot wg21bot added this to the 2024-telecon milestone Apr 17, 2024
@inbal2l inbal2l added C++26 Targeted at C++26 ready-for-library-evolution-meeting-review This paper needs to be discussed at a Library Evolution meeting IS Ship vehicle: IS size - medium paper size estimate labels Apr 23, 2024
@inbal2l inbal2l added the scheduled-for-library-evolution This paper has been scheduled for one of the groups: LEWG, LEWG Incubator, or a Mailing List review label May 15, 2024
@brevzin brevzin self-assigned this May 19, 2024
@ben-craig
Copy link
Collaborator

2024-06-04 Library Evolution Telecon

P3171R0: Adding functionality to placeholder types

2024-06-04 Library Evolution Telecon Minutes

Champion: Barry Revzin
Chair: Ben Craig
Minute Taker: Mark Hoemmen

Summary

Maybe make op[] and subscript multidimensional?
Talks about addrof, doesn't talk about simple assignment.
Consider semantics of op(). Why is it pack indexing instead of forwarding to underlying call operator?
Consider making std::get work in addition or instead of first and second.
Discuss why op->*s semantics aren't the "obvious" thing.

Discuss providing customization point so user streaming operators (op<< and op>>) can work. Maybe generalize this elsewhere for domain specific languages.

Recommend adding example involving binary predicate, like std::sort, so we can see _2 usage in addition to _1.
Discuss repeated placeholders (e.g. _1 + _1). Do they have double move issues?

Provide further motivation for logical and and or and discuss short circuiting, particularly around nested binds.

33: should be Notes

POLL: We should promise more committee time to pursuing Adding functionality to placeholder types, knowing that our time is scarce and this will leave less time for other work.

SF WF N WA SA
1 9 4 1 0

Attendance: 19

# of Authors: 1

Author Position: SF

Outcome: Consensus in favor

Comments: WA: not clear on the value this is adding to the standard, vs in a library.

POLL: Spend more time on operators for placeholders

SF WF N WA SA
1 4 6 1 1

Attendance: 20

# of Authors: 1

Author Position: SF

Outcome: No consensus

Comments:

POLL: Spend more time on function objects

SF WF N WA SA
4 7 2 0 0

Attendance: 20

# of Authors: 1

Author Position: SF

Outcome: Consensus

Comments:

Next Steps

Bring a new revision addressing and/or discussing the above feedback.

@ben-craig ben-craig added the needs-revision Paper needs changes before it can proceed label Jun 4, 2024
@inbal2l inbal2l added B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 and removed ready-for-library-evolution-meeting-review This paper needs to be discussed at a Library Evolution meeting scheduled-for-library-evolution This paper has been scheduled for one of the groups: LEWG, LEWG Incubator, or a Mailing List review labels Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 C++26 Targeted at C++26 IS Ship vehicle: IS LEWG Library Evolution needs-revision Paper needs changes before it can proceed size - medium paper size estimate
Projects
None yet
Development

No branches or pull requests

4 participants