Re: [C++ patch] Reject virt-specifiers on friends and member templates

2014-08-12 Thread Jason Merrill
Applied, thanks. Jason

Re: [C++ patch] Reject virt-specifiers on friends and member templates

2014-08-12 Thread Ville Voutilainen
On 12 August 2014 11:47, Ville Voutilainen wrote: > We shouldn't allow friend declarations and member templates to > have virt-specifiers, as neither of those can be virtual. Tested on > Linux x86-64. > Note that the standardese can be squinted at in a way that would allow > virt-specifiers on fri

[C++ patch] Reject virt-specifiers on friends and member templates

2014-08-12 Thread Ville Voutilainen
We shouldn't allow friend declarations and member templates to have virt-specifiers, as neither of those can be virtual. Tested on Linux x86-64. Note that the standardese can be squinted at in a way that would allow virt-specifiers on friends, there's a DR coming for that. I do not expect the resol