Repository navigation
Commit 377bd8c
Don't take placement new array size as lambda, keep findTypeEnd() unchanged
`new (p) T*[n]{...}` and `new decltype(x)*[n]{...}` in an initializer list
were taken as lambdas. Revert the findTypeEnd() change to keep the PR small,
lambdas with templates in the trailing return type keep the old behaviour.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent c0ebd17 commit 377bd8c
3 files changed
Lines changed: 27 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2683 | 2683 | | |
2684 | 2684 | | |
2685 | 2685 | | |
2686 | | - | |
| 2686 | + | |
2687 | 2687 | | |
2688 | | - | |
2689 | | - | |
2690 | 2688 | | |
2691 | 2689 | | |
2692 | 2690 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4768 | 4768 | | |
4769 | 4769 | | |
4770 | 4770 | | |
4771 | | - | |
4772 | | - | |
| 4771 | + | |
| 4772 | + | |
4773 | 4773 | | |
4774 | 4774 | | |
4775 | | - | |
| 4775 | + | |
| 4776 | + | |
| 4777 | + | |
4776 | 4778 | | |
4777 | 4779 | | |
4778 | 4780 | | |
| |||
4933 | 4935 | | |
4934 | 4936 | | |
4935 | 4937 | | |
4936 | | - | |
| 4938 | + | |
| 4939 | + | |
4937 | 4940 | | |
4938 | 4941 | | |
4939 | 4942 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2820 | 2820 | | |
2821 | 2821 | | |
2822 | 2822 | | |
2823 | | - | |
| 2823 | + | |
2824 | 2824 | | |
2825 | 2825 | | |
2826 | 2826 | | |
2827 | 2827 | | |
2828 | | - | |
| 2828 | + | |
2829 | 2829 | | |
2830 | 2830 | | |
2831 | 2831 | | |
| |||
2837 | 2837 | | |
2838 | 2838 | | |
2839 | 2839 | | |
| 2840 | + | |
| 2841 | + | |
| 2842 | + | |
| 2843 | + | |
| 2844 | + | |
| 2845 | + | |
| 2846 | + | |
| 2847 | + | |
2840 | 2848 | | |
2841 | 2849 | | |
2842 | 2850 | | |
| |||
2846 | 2854 | | |
2847 | 2855 | | |
2848 | 2856 | | |
2849 | | - | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
2850 | 2866 | | |
2851 | 2867 | | |
2852 | 2868 | | |
| |||
0 commit comments