Repository navigation
Commit eb4dc1c
committed
Consider explicit conversions before aggregate fallback []
Allow explicit conversion functions when matching the implicit copy constructor during single-argument direct-initialization, preventing premature C++20 aggregate fallback.
Extend EDGcpfe24743 to cover explicit conversion functions.
Signed-off-by: Yihan Wang <yronglin777@gmail.com>1 parent f0e30b6 commit eb4dc1c
3 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30702 | 30702 | | |
30703 | 30703 | | |
30704 | 30704 | | |
| 30705 | + | |
| 30706 | + | |
| 30707 | + | |
30705 | 30708 | | |
30706 | 30709 | | |
30707 | 30710 | | |
30708 | 30711 | | |
30709 | | - | |
| 30712 | + | |
| 30713 | + | |
30710 | 30714 | | |
30711 | 30715 | | |
30712 | 30716 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27542 | 27542 | | |
27543 | 27543 | | |
27544 | 27544 | | |
27545 | | - | |
| 27545 | + | |
| 27546 | + | |
| 27547 | + | |
27546 | 27548 | | |
27547 | 27549 | | |
27548 | 27550 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments