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
P2174R0 Compound Literals (Zhihao Yuan)
The text was updated successfully, but these errors were encountered:
Discussed in today's EWG telecon. One notable action item is to sync with the C committee people on this.
Polls:
Add compound literal to C++ (assuming my favored solution to the lifetime issues are addressed)
C++ compound literals should only work for trivial types (so that destructors aren't an issue)
C++ compound literals should match C++'s temporary object lifetime semantics
C++ compound literals should match C's block lifetime semantics
Sorry, something went wrong.
This paper was discussed at the Apr 1, 2022 SG22 teleconference and we took one poll:
Does SG22 prefer C semantics (lifetime, storage duration, value category) for C types (std::is_trivially_destructible) for compound literals in P2174R0?
Overall: consensus, but low attendance
P2174R1 Compound Literals (Zhihao Yuan)
No branches or pull requests
wg21bot commentedMay 21, 2020
P2174R0 Compound Literals (Zhihao Yuan)
The text was updated successfully, but these errors were encountered: