Bug 93529 - Implement P1009R2, Array size deduction in new-expressions
Summary: Implement P1009R2, Array size deduction in new-expressions
Status: ASSIGNED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 10.0
: P3 enhancement
Target Milestone: ---
Assignee: Marek Polacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-31 19:10 UTC by Jason Merrill
Modified: 2020-05-07 15:53 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2020-01-31 00:00:00


Attachments
initial WIP (1.59 KB, patch)
2020-01-31 19:11 UTC, Jason Merrill
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Merrill 2020-01-31 19:10:28 UTC
One more C++20 feature, though this one is a DR against earlier versions as well.

https://wg21.link/P1009R2
Comment 1 Jason Merrill 2020-01-31 19:11:31 UTC
Created attachment 47756 [details]
initial WIP

This implements the simplest form, but not the string literal case or parenthesized init.